home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / programs / zdcs201.zip / ZDCS-REF.TXT < prev    next >
Text File  |  1993-02-02  |  133KB  |  3,234 lines

  1.           
  2.  
  3.  
  4.           Zipfile Duplicate Checking System (ZDCS)  Ver. 2.01
  5.               Copyright (C) 1991, 1992  Michael W. Cocke
  6.  ---------------------------------------------------------------------
  7.  
  8.  
  9.                       Technical Reference Manual
  10.  
  11.  
  12.  
  13.  
  14. TABLE OF CONTENTS
  15. -----------------
  16.  
  17. ABOUT THE DOCS.................................................3
  18. PURPOSE OF ZDCS................................................3
  19. GENERAL TECHNICAL INFORMATION..................................4
  20. ZDCS OPTIONS...................................................5
  21.      Deletion of Duplicate Files...............................5
  22.      Allowed Duplicates........................................6
  23.      Privileged Users..........................................6
  24.      BBS Ads...................................................6
  25.      Pre-Testing...............................................7
  26. INSTALLATION OVERVIEW..........................................7
  27. THE ZDCS DIRECTORY.............................................8
  28. THE ZDCS CONFIGURATION FILE....................................8
  29.      Function..................................................8
  30.      Line 1....................................................9
  31.      Line 2....................................................9
  32.      Line 3....................................................9
  33.      Line 4...................................................10
  34.      Line 5...................................................10
  35.      Line 6...................................................11
  36.      Line 7...................................................12
  37.      Line 8...................................................12
  38.      Line 9...................................................13
  39.      Line 10..................................................13
  40.      Line 11..................................................13
  41.      Line 12..................................................14
  42.      Line 13..................................................14
  43. THE ZDCS DATABASE BUILD.......................................14
  44.      Purpose..................................................14
  45.      Creation of the Initial Database.........................15
  46.      The Screen Display During the Database Build.............15
  47.      Additions to an Existing ZDCS Database...................17
  48.      ZDCSDB Without a Separate File Integrity Checker.........17
  49.      The Database Build Log File ZDCS-DBB.LOG.................18
  50. THE ZDCS DUPLICATE REPORT GENERATOR...........................18
  51. THE ZDCS DATABASE PURGE.......................................20
  52. BBS ADS.......................................................21
  53.      Function.................................................21
  54.      Creation of the BBS Ads Database.........................22
  55.      Updating the BBS Ads Database............................22
  56.      Selecting Deletion or Flagging of BBS Ads................24
  57. ALLOWED DUPLICATES............................................25
  58.  
  59.           
  60.           
  61.           
  62.           
  63.  
  64.                                   - 1 -
  65.           
  66.           
  67.  
  68.  
  69.           
  70.           Zipfile Duplicate Checking System (ZDCS)  Ver. 2.01
  71.               Copyright (C) 1991, 1992  Michael W. Cocke
  72.  ---------------------------------------------------------------------
  73.  
  74.  
  75.                       Technical Reference Manual
  76.  
  77.  
  78.  
  79.  
  80. TABLE OF CONTENTS
  81. -----------------
  82.  
  83.  
  84. THE UPLOAD FILE CHECKER.......................................27
  85.      Purpose..................................................27
  86.      Function.................................................27
  87.      Maximum and Actual Percent Dupes in an Upload............28
  88.      Updating ZDCS Database(s) After an Upload................29
  89.      DOS Error Levels.........................................29
  90. CALLING THE UPLOAD FILE CHECKER...............................30
  91.      Calling ZDCSFC.EXE from EXZTEST..........................30
  92.      Calling ZDCSFC.EXE from the PCBTEST.BAT File.............30
  93.      The %1 %2 %3 Parameters..................................32
  94. PROCESSING LOCAL UPLOADS......................................32
  95. PRE-TESTING...................................................34
  96. ZIPFILES WITHIN ZIPFILES......................................35
  97. CD-ROMS AND DATABASE MERGING..................................36
  98. PKZIP AV STAMP INTEGRITY......................................37
  99. ARJ SECURITY ENVELOPE INTEGRITY...............................38
  100. ACCURACY OF THE CRC32 METHOD..................................39
  101. MEMORY USAGE..................................................41
  102. TROUBLE-SHOOTING GUIDE........................................41
  103.      Your system is crashing during the upload test...........41
  104.      ZDCSDB.EXE (the database build) is crashing..............42
  105.      ZDCS is reporting a device I/O error (in any module).....42
  106.      ZDCS reports path/file access errors.....................43
  107.      QEMM exception 13 errors occur when running ZDCS.........43
  108. REGISTRATION..................................................43
  109. SUPPORT.......................................................45
  110.      Contact Information......................................45
  111.      Goodies..................................................46
  112.           Database Merge......................................46
  113.           Pre-Built CD-ROM Databases..........................46
  114.           Local Upload Processing.............................47
  115.           Database Browser....................................47
  116.           Fixpath.............................................47
  117.           BBS Ad Tracker......................................47
  118.           Conversion from ZDCS 1.6x to ZDCS 2.01..............47
  119.      Documentation............................................48
  120. FUTURE ENHANCEMENTS...........................................48
  121. ACKNOWLEDGEMENTS..............................................48
  122. COPYRIGHTS AND LEGAL STUFF....................................49
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.                                   - 2 -
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137. ABOUT THE DOCS
  138. --------------
  139.  
  140. Welcome to the technical reference manual ZDCS-REF.TXT for ZDCS
  141. version 2.01.  This manual has been prepared to give you an easy
  142. reference guide for the various parts, functions, and options in ZDCS.
  143. It is deliberately arranged to be modular in organization so that you
  144. can look up whatever interests you without having to read the entire
  145. manual.
  146.  
  147. This manual should be the =second= doc file that you read.  We
  148. recommend that you first read the walk-through ZDCSWALK.TXT if you are
  149. new to ZDCS, or the conversion file CONVERT.TXT if you are running
  150. ZDCS 1.6x and looking to convert to version 2.01.  That will get you up
  151. and running painlessly.
  152.  
  153. The walk-through ZDCSWALK.TXT is a friendly guide that is meant to
  154. hold your hand and whisper sweet explanations in your ear as you
  155. install and first explore ZDCS.  It's arranged to take you through all
  156. the steps you need to know from beginning to end.  The walk-through is
  157. the first place that new users of ZDCS should go for guidance when
  158. installing and configuring ZDCS.
  159.  
  160. The conversion file CONVERT.TXT is written specially for the user of
  161. ZDCS 1.6x upgrading to version 2.01.  It provides instructions for
  162. quick conversion from the older versions of ZDCS to version 2.01.  If
  163. you're already familiar with ZDCS 1.6x and want to upgrade to the
  164. current version, this is the first place you should look for help in
  165. getting ZDCS 2.01 up and running on your system.  It is also the place
  166. to go for answers to questions specific to the upgrade, like how to
  167. convert your old ZDCS 1.6x database to the new database format used in
  168. ZDCS 2.01.
  169.  
  170.  
  171.  
  172.  
  173. PURPOSE OF ZDCS
  174. ---------------
  175.  
  176. ZDCS is a shareware set of utilities intended to help a PCBoard sysop
  177. deal with the problem of duplicate files, whether those files are
  178. already on the bbs or are being uploaded by a caller.  It provides
  179. specific support for looking inside archives made with PKZIP,
  180. including PKZIP version 1.93 (ZIP files),  archives made with ARJ (ARJ
  181. files), and self-extracting files made with either PKZIP or ARJ (SFX
  182. files).  ZDCS processes all of these archives so that the differences
  183. between them are transparent to the sysop and caller.  To make this
  184. walk-through easier to read, we'll refer to all of these file types as
  185. archives.  ZDCS also provides support for accepting unzipped GIFs.
  186.  
  187. ZDCS helps to manage the problem of duplicate files in two ways.
  188.  
  189. 1. It provides a method for weeding out duplicate files from an
  190.    existing collection of files, like a bbs file system or a CD-ROM
  191.    collection before mastering.
  192.  
  193.  
  194.  
  195.  
  196.                                   - 3 -
  197.  
  198.  
  199.  
  200.  
  201.  
  202. 2. It provides a duplicate checking method for any prospective
  203.    addition to the existing file base, such as uploads to a bbs or
  204.    late additions to the CD-ROM collection.
  205.  
  206. ZDCS was written by a sysop and programmer who knows that sysops never
  207. have enough time to do all the things they would like to do on their
  208. boards.  Making ZDCS friendly to use for both sysop and caller has
  209. been important since version 1.0 was first written.
  210.  
  211. Although ZDCS was developed primarily for use on PCBoard bbs's, it can
  212. also be used to look for duplicates on other systems as well, such as
  213. a shareware CD-ROM or even multiple directories on your hard drive
  214. system.  However, it's on a bbs that ZDCS really shows its stuff.
  215.  
  216. ZDCS can be told to decline an upload, to automatically remove
  217. duplicate files, to delete those pesky little bbs ads from uploads,
  218. and to recognize "allowed duplicates" - or any combination of the
  219. above.  You can tell ZDCS to accept anything that a privileged user
  220. uploads, and change your mind on who's "privileged" and who's not.
  221. There's even a pre-test capability that lets callers easily find out
  222. ahead of time whether or not their intended upload duplicates files
  223. already on your board.  All of these are discussed in this reference
  224. manual.  Setup and configuration are also described in the walk-
  225. through guide ZDCSWALK.TXT.
  226.  
  227.  
  228.  
  229.  
  230. GENERAL TECHNICAL INFORMATION
  231. -----------------------------
  232.  
  233. ZDCS handles file archives with the .ZIP extension created by PKZIP
  234. (including version PKZIP 1.93), with the .ARJ extension created by
  235. ARJ, and with the .EXE extension created by PKZIP or by ARJ (self-
  236. extracting files, also called SFX).  ZDCS is able to see inside each
  237. of these archives to deal with the individual files inside them.  For
  238. simplicity, we will refer to all of these files as zipfiles.
  239.  
  240. ZDCS also handles GIF files.  These are individual graphic files that
  241. already have their own compression.  GIFs may be uploaded to some
  242. bbs's as individual files.  They are not archives of multiple
  243. freestanding files, so ZDCS does not need to look "inside" them.  In
  244. fact, ZDCS thinks of them rather like poor zipfiles with only a single
  245. file in them.
  246.  
  247. Whenever ZDCS encounters a file that is not a ZIP or an ARJ or an SFX,
  248. it treats that file like a GIF.  Although we will continue to use the
  249. term GIF to refer to these files, ZDCS could actually handle any
  250. "other" type of file by treating it as a single file, the same as it
  251. does with GIFs.
  252.  
  253. ZDCS does not provide support for archiving methods besides ZIP and
  254. ARJ.  This means that if ZDCS encounters an LZH archive, for example,
  255. it cannot see inside the archive to look at the individual files.
  256. Instead, the entire archive would be treated as a single GIF-type
  257. file.
  258.  
  259.  
  260.  
  261.  
  262.                                   - 4 -
  263.  
  264.  
  265.  
  266.  
  267.  
  268. ZDCS makes use of the 32-bit CRC, often called the CRC32, used
  269. internally by PKZIP for ZIPs and SFXs.  When ZDCS encounters any other
  270. file, it considers that file to be a GIF and calculates the CRC value
  271. for it.
  272.  
  273. ZDCS checks files for duplicates by keeping a database of the CRC
  274. values.  When new files are added to the system (uploads), ZDCS
  275. compares the CRC values of the newcomers to those in the database to
  276. determine if there are any matches, indicating duplicate files.  This
  277. method uses the contents of the files and is independent of the names
  278. of those files.
  279.  
  280. The ZDCS database of CRC values uses a B-tree index, so there are no
  281. external sort utilities or regular file maintenance requirements of
  282. any kind.
  283.  
  284. ZDCS is compatible with any Netbios compatible lan, such as Lantastic
  285. or Novell Netware.  It has also been tested extensively with many CD-
  286. ROM devices and with Alloy slave cards.
  287.  
  288.  
  289.  
  290.  
  291. ZDCS OPTIONS
  292. ------------
  293.  
  294. ZDCS has five sets of options that can be configured independently of
  295. each other and changed at any time.  You can try out the different
  296. options and change your mind about which ones you want to use without
  297. re-installing ZDCS.
  298.  
  299. For a good guide to choosing the options to fit your system, take a
  300. look at the walk-through ZDCSWALK.TXT.  As part of the installation
  301. guide it explains what each option can mean to your bbs and what some
  302. of the possible consequences are.  Each of these options is also
  303. covered in greater technical detail in other sections of this
  304. reference manual.
  305.  
  306. Running ZDCS without any of the extra options enabled gives you a
  307. basic duplicate checking system that will not delete any files
  308. automatically.  It will still tell you about all duplicate files, but
  309. it won't be able to distinguish between files you always want to
  310. delete (like bbs ads), files that duplicate exactly ones already on
  311. your board, and files that are duplicates but still important to keep
  312. (like VALIDATE.COM from Macafee's SCAN program).
  313.  
  314. You can try out the different options and change your mind about which
  315. ones you want to use without re-installing ZDCS.  All it takes is a
  316. change to the appropriate line(s) in the configuration file.
  317.  
  318.  
  319. Deletion of Duplicate Files
  320. ---------------------------
  321.  
  322. ZDCS can be set to either flag or delete duplicate files from uploads
  323. to your bbs.  Either way, ZDCS will still recognize the files that are
  324. duplicates of ones already in the bbs file system and leaves you
  325. messages in a log file.  This deletion feature does not operate on a
  326. GIF file.
  327.  
  328.                                   - 5 -
  329.  
  330.  
  331.  
  332.  
  333.  
  334. Enabling the deletion of files is the only way that ZDCS could ever
  335. have the opportunity to change the AV stamp on a zipfile made with
  336. PKZIP, or the security envelope on a zipfile made with ARJ.  That
  337. happens only if ZDCS deletes a file that is included "inside" the AV
  338. stamp or the security envelope.  (It is possible to create a either
  339. type of archive that has additional files added outside stamp or
  340. envelope but still inside the same archive.)  ZDCS can be set to
  341. delete duplicate files and / or bbs ads, with each option being set
  342. independently of the other.
  343.  
  344.  
  345. Allowed Duplicates
  346. -----------------
  347.  
  348. You can designate certain files as allowed duplicates.  Although these
  349. files may already be present on your bbs, you can tell ZDCS not to
  350. treat them like duplicates.  This prevents ZDCS from deleting them if
  351. you have selected the option to delete duplicate files.  It also
  352. prevents the allowed duplicates from being counted in the calculation
  353. of the percentage of duplicates in an upload.
  354.  
  355. Let's look at an example to see both of these effects in action.
  356.  
  357.    A caller uploads a zipfile containing eleven files.  One of
  358.    those files is in your allowed duplicates list, and three of the
  359.    files are already present on your board.  ZDCS will report that
  360.    there is one allowed duplicate in the zipfile.  Since that one
  361.    file is not counted in the calculations, ZDCS will ignore it
  362.    when determining the percentage of dupes in the zipfile:
  363.  
  364.           Total Number of Files    10   (not eleven!)
  365.           Number of Dupes           3   (allowed dupes don't count)
  366.           Percentage of Dupes 30%  (3/10, not 3/11)
  367.  
  368. This feature does work for GIF files.  If a GIF is included among the
  369. allowed duplicates, then a repeat upload of the same GIF will not be
  370. flagged as a duplicate, and the upload will be accepted.
  371.  
  372.  
  373. Privileged Users
  374. ----------------
  375.  
  376. You can designate one or more user names as privileged users.  Any
  377. file that is uploaded by a someone on the privileged user list is
  378. never declined by ZDCS, no matter how many duplicate files there may
  379. be in it.  This provides you with the option of excluding one or more
  380. usernames from the usual dupe checking requirements you've set for the
  381. rest of your callers.
  382.  
  383.  
  384. BBS Ads
  385. -------
  386.  
  387. You can specify certain files as truly obnoxious.  These are
  388. collectively referred to as bbs ads after one of our favorites,
  389. although they could also include get-rich-quick files or any other
  390. nuisance file that you've already seen once and don't ever want to see
  391. again.  ZDCS can be told to either flag or delete these files from all
  392. uploads.
  393.  
  394.                                   - 6 -
  395.  
  396.  
  397.  
  398.  
  399.  
  400. This option is completely independent of the option to delete
  401. duplicate files.  A major distinction between the two types of files
  402. is that bbs ads are files that are known and despised ahead of time.
  403. This option provides a safe way to delete them without risking the
  404. removal of authors' unchanged files from newer shareware versions.
  405. The bbs ads option does not operate on a GIF file.
  406.  
  407. Enabling the deletion of files is the only time that ZDCS can ever
  408. change the AV stamp on a zipfile made with PKZIP, or the security
  409. envelope on a file made with ARJ.  That happens only if ZDCS deletes a
  410. file that is included "inside" the AV stamp or the security envelope.
  411. (It is possible to create either archive that has additional files
  412. added outside the stamp or envelope but still inside the same
  413. archive.)  ZDCS can be set to delete bbs ads and / or duplicate files,
  414. with each option being set independently of the other.
  415.  
  416.  
  417. Pre-Testing
  418. -----------
  419.  
  420. ZDCS offers an easy method for callers to your bbs to pre-test an
  421. upload before actually sending the full file to the board.  The pre-
  422. test is quick and simple for them to do, and gives the same
  423. information that callers would see after sending the full file.  There
  424. are no upload credits granted for using just the pre-test feature
  425. without sending up the full file.
  426.  
  427. A canned bulletin is included in this package to explain to your
  428. callers how to use the pre-test feature.  The sysop side of pre-
  429. testing is also easy to implement, and is discussed in the PRE-TESTING
  430. section of this manual.
  431.  
  432.  
  433.  
  434.  
  435. INSTALLATION OVERVIEW
  436. ---------------------
  437.  
  438. There are six basic steps to installing ZDCS to work with the bbs:
  439.  
  440. 1.   Copying the ZDCS files to a new ZDCS directory.   (required)
  441. 2.   Setting up the configuration file.           (required)
  442. 3.   Creating the initial database.               (required)
  443. 4.   Creating the bbs ads database).              (optional)
  444. 5.   Creating the list of allowed duplicates.          (optional)
  445. 6.   Setting up the check for uploaded duplicates.     (required)
  446.  
  447. There is a walk-through called ZDCSWALK.TXT included in this package
  448. to help you install ZDCS.  It's a friendly guide to understanding the
  449. functions and installing the programs on your bbs.  It is especially
  450. good for taking you through the steps slowly and in order so that
  451. installation goes smoothly on your system.
  452.  
  453. If you're already using ZDCS version 1.6x and you want to convert to
  454. version 2.01, then the file you need is CONVERT.TXT.  It guides you
  455. through the conversion so that you don't have to spend time creating a
  456. new database from scratch or reinventing the wheel.
  457.  
  458.  
  459.  
  460.                                   - 7 -
  461.  
  462.  
  463.  
  464.  
  465.  
  466. This technical reference manual has information on all the parts,
  467. functions and options of ZDCS, but it's arranged with a different
  468. purpose in mind:  to allow you to find and read only those specific
  469. sections you want to know more about.  If you want to install ZDCS, we
  470. highly recommend using the walk-through as your primary guide and all-
  471. around hand-holder.  If you want to convert from ZDCS 1.6x to ZDCS
  472. 2.01, then we recommend the conversion file as your best friend for
  473. speeding up the process.
  474.  
  475.  
  476.  
  477.  
  478. THE ZDCS DIRECTORY
  479. ------------------
  480.  
  481. All of the working files for ZDCS should be collected together in one
  482. directory.  The only possible exception to this is the ZDCS database
  483. (ZDCS.DAT and ZDCS.NDX) created for your system, which you have the
  484. option of locating elsewhere.  All of the executables in this package
  485. (*.EXE), the configuration file (ZDCS.CFG), and any additional files
  486. you create such as the bbs ads database or the list of allowed
  487. duplicates, must all be together in this one directory.  For
  488. simplicity, this directory is referred to as your ZDCS directory.
  489.  
  490. The ZDCS database is by far the biggest set of files for most bbs and
  491. CD-ROM applications.  The option to locate it somewhere else besides
  492. the ZDCS directory is a convenience, especially for sysops who may not
  493. have enough disk space where they want to put the ZDCS directory.
  494.  
  495. The ZDCS directory should be part of your PATH statement.  Remember
  496. that you'll need to reboot after changing the PATH statement in order
  497. for the changes to take effect.
  498.  
  499.  
  500.  
  501.  
  502. THE ZDCS CONFIGURATION FILE
  503. ---------------------------
  504.  
  505.  
  506. Function
  507. --------
  508.  
  509. The ZDCS configuration file ZDCS.CFG is central to the entire process.
  510. All the modules of ZDCS look for and use at least parts of this file.
  511. It's also the place where you set many of the options and all of the
  512. parameters of ZDCS.
  513.  
  514. For such a powerful component, the ZDCS.CFG is surprisingly simple:
  515. just thirteen short lines of ASCII that you can create with any text
  516. editor.  A sample configuration file is included with this package.
  517. The contents of each line are discussed in excruciating detail further
  518. on in this section.
  519.  
  520. Under most circumstances, ZDCS.CFG should be in the same directory as
  521. the rest of the ZDCS files.  This is always true if you are running
  522. DOS version 3.x or higher.
  523.  
  524.  
  525.  
  526.                                   - 8 -
  527.  
  528.  
  529.  
  530.  
  531.  
  532. The one time that the configuration should be located elsewhere is for
  533. those poor lost souls still running DOS 2.x.  In this unusual case,
  534. ZDCS.CFG belongs in whichever directory will be the current directory
  535. when the ZDCS program modules are run.
  536.  
  537.  
  538. Line 1
  539. ------
  540.  
  541. This line is the complete drive, path and filename of an ASCII text
  542. file.  This file is one that you create listing all the pathnames, one
  543. on each line, for all the directories containing the zipfiles / GIFs
  544. to be included in the database.
  545.  
  546. PCBoard refers to this as the download path list and defaults to
  547. DLPATH.LST as the file name in PCB setup.  You can use that file to
  548. point to the complete bbs file directory only if you are =not= using
  549. the index file feature in PCBoard 14.5a.
  550.  
  551. You can also use the freeware utility DIRTREE (by Mike Cocke,
  552. available on The Hacker Central BBS) to create a text file of all
  553. directories on a specified drive.  Depending on how your system is
  554. arranged, you might be able to use the resulting text file directly,
  555. or you might need to delete a set of lines from the file.  In any
  556. case, you won't have to wonder whether you've remembered to include
  557. all the pathnames.
  558.  
  559. There is no upper limit on the number of pathnames that can be
  560. processed.  It does not matter whether or not you've included the
  561. trailing backslash for each pathname.
  562.  
  563. To process a new collection of files into the ZDCS database, like
  564. those on a CD-ROM, just change either this line or the contents of the
  565. file to which it points.
  566.  
  567.  
  568. Line 2
  569. ------
  570.  
  571. This line is the complete drive, path and filename where you want the
  572. finished ZDCS database (ZDCS.NDX and ZDCS.DAT) to be located.  It
  573. makes no difference if you include the trailing backslash here or not.
  574.  
  575. You can put the ZDCS database in the same directory as the rest of the
  576. ZDCS files and programs, or you can decide to put it on a different
  577. drive or even across the network.  This was made possible because the
  578. database is the largest pair of files, and some sysops needed the
  579. flexibility of locating them on a drive with more spare room.  All the
  580. rest of the ZDCS files (such as the bbs ads, the allowed duplicates,
  581. and whatnot) should be grouped together in the same directory with the
  582. executables.
  583.  
  584.  
  585. Line 3
  586. ------
  587.  
  588. This line is the complete drive, path and filename giving the location of
  589. the privileged user list file.  If you don't want to have any privileged
  590. users on your system, simply leave this line blank.
  591.  
  592.                                   - 9 -
  593.  
  594.  
  595.  
  596.  
  597.  
  598. A privileged user is someone who can upload no wrong.  Whenever a file is
  599. uploaded by a user named on the privileged user list, the file is
  600. explicitly passed by ZDCS, no matter how many duplicates there might be
  601. in it.  Even if you have enabled deletion of duplicate files and / or bbs
  602. ads, ZDCS still will not delete them if the original zipfile was uploaded
  603. by a privileged user.  The privileged user status takes precedence.
  604.  
  605. The format of the file containing the privileged user list is
  606. straightforward.  Put one username on each line and end each line with a
  607. CR/LF.  It makes no difference if you use upper case, lower case, or a
  608. mixture of the two.  There is no maximum number of names you may put in
  609. the privileged user list, but remember that if you make this a long list,
  610. ZDCS will take longer to check new uploads because it will have to check
  611. every name in this list.
  612.  
  613. This feature was added for a couple of sysops who wanted to pass specific
  614. files (beta code) to each other as part of unattended mail runs, and
  615. wanted those files automatically posted for public access instead of
  616. possibly held for later sysop review.
  617.  
  618.  
  619. Line 4
  620. ------
  621.  
  622. This line is either the letter Y or the letter N.  It controls whether
  623. you want ZDCS to add the disposition line to the end of the upload
  624. description.  The disposition line shows the total number of files in an
  625. upload and the number of those that were duplicate files.  It is used
  626. when ZDCS declines an upload.  Here is a sample disposition line:
  627.  
  628.                ZDCS:  12  Duplicates /  12  files
  629.  
  630. The actual numbers will change depending on the file.
  631.  
  632. ZDCS has to be running in standalone mode for this, not with any of the
  633. current gateways to file integrity checkers, such as with Extest.  When
  634. ZDCS is running with a gateway, then the actual contents of this line are
  635. ignored by the program.  Technically, it's the use of the OMP parameter
  636. in the gateweay connection and not the existence of the gateway itself
  637. that is the controlling factor.  If you're really interested in the
  638. abstruse technical details, take a look at the third party interface file
  639. ZDCS-TPI.ZIP on The Hacker Central BBS.
  640.  
  641. You still need to have this line present in the configuration file so the
  642. total line count doesn't fall off, but the line can contain anything as a
  643. placeholder.
  644.  
  645. This new feature was added by request.  Please note that you must be
  646. running PCBoard 14.5a in order to make use of it, and that the third
  647. command line parameter must be specified (ZDCSFC %1 %2 %3) in your
  648. PCBTEST.BAT file.  Otherwise, leave this fourth line of the config set
  649. to the letter N.
  650.  
  651.  
  652. Line 5
  653. ------
  654.  
  655. This line is either the letter Y or the letter N.  It controls whether
  656. you want ZDCS to truncate nulls from the end of GIFs (or "other" type
  657.  
  658.                                   - 10 -
  659.  
  660.  
  661.  
  662.  
  663.  
  664. files) before performing any operations on them.  The truncation is
  665. actually done on a copy of the file and the original is left intact.
  666. Any AV stamp that is present is not disturbed.
  667.  
  668. Nulls (ASCII 0) can be added to the end of a file by some transfer
  669. protocols (such as Ymodem) in order to make the entire file come out
  670. on a block segment.  Other protocols (such as Zmodem) do not add the
  671. null characters.  That would make the identical file uploaded by the
  672. two different protocols slightly different files by the time they
  673. arrived on your system.  If the nulls were included in the file
  674. contents when any calculation or comparison was done, it would look
  675. like two different files instead of the same file transferred by two
  676. different protocols.  Setting this line to the letter Y enables ZDCS
  677. to ignore those extra nulls.
  678.  
  679. The advantage of using this feature is increased accuracy when the
  680. same file is uploaded by different transfer protocols.  The
  681. disadvantage is that it adds a bit of time to the upload checking and
  682. database build operations.  The time is needed for ZDCS to create a
  683. temporary copy of the file in order to remove the exrta nulls, and
  684. again to delete that temporary file, leaving the original upload
  685. intact.  Use of the option to truncate nulls also requires enough
  686. additional disk space to hold a temporary copy of the file so that the
  687. original one is not disturbed.
  688.  
  689.  
  690. Line 6
  691. ------
  692.  
  693. This line is an integer - that's a whole number, no decimals - between
  694. 0 and 100.  It sets the maximum percentage of dupes that your bbs will
  695. accept in an upload.
  696.  
  697. ZDCS will calculate the actual percentage of duplicates in the upload
  698. and compare it to your maximum percentage.  If the actual percentage
  699. is lower, the upload is accepted.  If the actual percentage is equal
  700. to or higher than the maximum you specified, the upload is declined
  701. and kept in your private upload directory for your review.
  702.  
  703. Setting the percentage to 100 effectively bypasses this filter, since
  704. it permits a duplicated GIF or a zipfile with nothing but duplicates
  705. to pass.  At the other extreme, setting the percentage to 0
  706. effectively requires that the uploaded GIFs and zipfiles have no
  707. duplicates at all.
  708.  
  709. If you make a mistake and enter a decimal on line 6, ZDCS will not
  710. crash.  It will simply truncate your number (lop off everything after
  711. the decimal point) and use the resulting integer as the maximum
  712. percentage of dupes.
  713.  
  714. This works out quite well in actual practice.  Uploads that are a
  715. fraction of a percent under the maximum percentage of duplicates are
  716. the only files where this makes any difference, and the use of
  717. truncating instead of rounding means that they will always be passed.
  718. IF ZDCS rounded the decimal points instead, there would be some
  719. uploads that would round up, making their actual percentage of dupes
  720. the same as the maximum value.  Such files are declined by ZDCS.
  721.  
  722.  
  723.  
  724.                                   - 11 -
  725.  
  726.  
  727.  
  728.  
  729.  
  730. Line 7
  731. ------
  732.  
  733. This line is the complete drive, path and filename you want ZDCS to
  734. use for the log file created by the upload file checker ZDCSFC.  This
  735. log is an ASCII text file that contains information from the upload
  736. file checker ZDCSFC for each upload it has processed.  Each message
  737. about a specific upload includes the following:
  738.  
  739.   name of the uploaded zipfile or GIF
  740.   list of all component files inside a zipfile
  741.   which files are flagged as bbs ads
  742.   which files are marked as duplicates
  743.   reference to the file already in the database which is duped by the
  744.      UL
  745.   which files are marked as allowed duplicates
  746.   actual percentage of dupes in the upload
  747.   whether the upload was accepted or declined
  748.  
  749. The fifth line in the list above is new in ZDCS 2.01.  It means that
  750. when a duplicate file is found in an upload, ZDCS will provide the
  751. reference to the zipfile or GIF containing the copy of that file which
  752. was already on the bbs.  It happened that callers who had uploaded
  753. files with lots of dupes were not always able to find where those
  754. files already existed on the system, often because files had been
  755. renamed.  Those callers sometimes pestered the sysop for this
  756. information, which wasn't always easy for the sysops to locate,
  757. either.  Now this reference is written directly to the upload checker
  758. log file The information includes the name of the zipfile or GIF and
  759. its pathnumber in the system.
  760.  
  761. If PCBOARD.SYS is in the current directory when the upload file
  762. checker is run, then the name of the currently logged caller is also
  763. included in the log file.
  764.  
  765.  
  766. Line 8
  767. ------
  768.  
  769. This line is either the letter Y or the letter N.  It controls the
  770. switch to tell ZDCS whether to delete bbs ads (Y) in an uploaded
  771. zipfile or to just flag them (N).  If you've decided not to enable any
  772. checking for bbs ads at all, just set this to N.
  773.  
  774. This is not the place where you decide if you want to check for bbs
  775. ads.  You do that by creating the bbs ads database.  If that database
  776. is found, then ZDCS will check files against the database of known bbs
  777. ads looking for a match.  If there is no bbs ads database, ZDCS won't
  778. be able to check for them.
  779.  
  780. The choice you are making here is whether to remove those known bbs
  781. ads from zipfiles, when they are encountered.  This decision is
  782. separate from the choosing whether to delete duplicate files in
  783. general, which is set in line 9.  You may configure these two options
  784. independently of each other.
  785.  
  786.  
  787.  
  788.  
  789.  
  790.                                   - 12 -
  791.  
  792.  
  793.  
  794.  
  795.  
  796. Line 9
  797. ------
  798.  
  799. This line is either the letter Y or the letter N.  It controls whether
  800. you want ZDCS to delete all duplicate files from an upload (Y) or just
  801. flag them and leave them intact (N).
  802.  
  803. If you choose to delete all duplicate files, then any duplicate file
  804. that ZDCS finds that is not specifically listed as either an allowed
  805. duplicate or a bbs ad will be deleted from the zipfile ZDCS is
  806. processing.  The bbs ads are handled by a separate option, determined
  807. by the existence of the bbs ads database ZDCS-BBA.NDX and configured
  808. in line 8.
  809.  
  810.  
  811. Line 10
  812. -------
  813. This line is reserved for a single line of text by the sysop.  The
  814. contents of this line are appended to the PCBFAIL.TXT file created by
  815. ZDCS whenever an upload is declined.  The caller who has just uploaded
  816. the declined file sees this line of text as a message on the screen.
  817.  
  818. This line is where you can express from 1 to 72 characters' worth of
  819. creativity.  Some callers have become quite fixated on the idea that
  820. "declined" is the same as "thrown out" - which is of course not true.
  821. You can use this line to tell the caller what has happened or will
  822. happpen with the upload.  One possible line to use is:
  823.  
  824.      Too many duplicate files - upload must be reviewed by sysop.
  825.  
  826. If you don't want to display any message to the caller, just place
  827. something innocuous like a period or even a blank space on this line.
  828. Just don't leave the line completely blank!  You also shouldn't use
  829. any quotation marks in this line.  You can make use of PCBoard
  830. @variables and &filespec to your heart's content;  both are fully
  831. supported here.
  832.  
  833. If your file integrity checker overwrites the PCBFAIL.TXT file, your
  834. callers won't see this line of text unless you choose to use ZPEND.
  835. This is another free utility available on The Hacker Central BBS.  By
  836. using ZPEND with such an integrity checker, you will make sure that
  837. this line of text is displayed to the caller.  Also displayed will be
  838. a complete ZDCS breakdown of the upload, showing which files are bbs
  839. ads, dupes, allowed duplicates, and so on.
  840.  
  841.  
  842. Line 11
  843. -------
  844. This line contains the filename ZDCSFC.OUT and nothing else.  For all
  845. practical purposes, this line is planning for the future.
  846.  
  847. Technically, this line points to the name of an ASCII text file that
  848. will be created every time an upload is processed.  It's a spare copy
  849. of the ZDCS summary information that most upload checkers overwrite.
  850. ZPEND and some utilities-in-progress use it.
  851.  
  852. Leave this line set to ZDCSFC.OUT until further notice or features.
  853.  
  854.  
  855.  
  856.                                   - 13 -
  857.  
  858.  
  859.  
  860.  
  861.  
  862. Line 12
  863. -------
  864.  
  865. This line is the complete drive and pathname of a RAM drive that is
  866. available to ZDCS for certain types of processing work.
  867.  
  868. ZDCS can make use of a RAM drive to speed up the processing of
  869. embedded archives (referred to as zipfiles within zipfiles).  It can
  870. also use the RAM drive to process GIFs ("other" files) if you set
  871. config line 5 to Y in order to truncate nulls.
  872.  
  873. The existence of the RAM drive is verified by ZDCS, but the amount of
  874. space available on it is not checked.  If you run out of space on the
  875. RAM drive while ZDCS is processing an upload, the upload will be
  876. declined.
  877.  
  878. If you do not want to use a RAM drive, leave this line blank.
  879.  
  880.  
  881. Line 13
  882. -------
  883.  
  884. This line consists of the single letter Y or N.  It controls whether
  885. ZDCS displays the one line "Registered to..." message after the board
  886. receives an upload (Y) or turns off the display of this message (N).
  887. Either way, the caller still sees the file by file breakdown of the
  888. upload and the status (duplicate, bbs ads, etc.) of each file.
  889.  
  890. This feature is only recognized by the registered version of ZDCS.  It
  891. has no effect on the three line message displayed by the unregistered
  892. version.  It is also the only line of the configuration file that you
  893. can forget to include without causing major problems.  If the line is
  894. missing, ZDCS defaults to (Y) and displays the three line message.
  895.  
  896. This would probably be a fine time to wax poetical about the
  897. advantages of registration.  Instead, we'll just direct you to the
  898. section in this manual on registration for more information about
  899. that, and to the section on support for some of the reasons why.
  900. (Actions speak louder than words.)
  901.  
  902.  
  903.  
  904.  
  905. THE ZDCS DATABASE BUILD
  906. -----------------------
  907.  
  908.  
  909. Purpose
  910. -------
  911.  
  912. In order for ZDCS to process new uploads, it must first have created a
  913. database for the existing files to serve as a standard of comparison.
  914. This is referred to as the duplicate file database, the ZDCS database,
  915. or the CRC database.  For simplicity, we will also refer to it as
  916. "the" database.  Information stored in this database includes pathname
  917. information, the file name of every zipfile and GIF examined by ZDCS,
  918. and the names and CRC values of every individual file.
  919.  
  920.  
  921.  
  922.                                   - 14 -
  923.  
  924.  
  925.  
  926.  
  927.  
  928. There is another purpose to building the ZDCS database besides
  929. enabling ZDCS to check uploads.  It also serves as a tool to help you
  930. weed out duplicate files from the existing collection.
  931.  
  932.  
  933. Creation of the Initial Database
  934. --------------------------------
  935.  
  936. THE ZDCS database of duplicate files is created with the database
  937. build program ZDCSDB.  The finished database consists of two files:
  938. ZDCS.NDX and ZDCS.DAT.  A  third file is also created during this
  939. process:  ZDCS-DBB.LOG, which is an ASCII text file logging messages
  940. from the database creation process.
  941.  
  942. There is no limit to the number of component files within a zipfile.
  943. ZDCS will "see" and process all the member files.  The more files in
  944. the zipfile, however, the longer the processing of that archive will
  945. take.
  946.  
  947. To create the database, you simply run ZDCSDB.  This program looks for
  948. the ZDCS configuration file to tell it which files you want to
  949. process.  These can be in multiple directories, on different drives,
  950. or across a network.  Once you start the build process, there is
  951. nothing more to do until it is complete.  Everything will run
  952. automatically with no need for additional input from you.  While the
  953. program is running, there is a screen display that gives you the
  954. current status of operations and one very important piece of
  955. information:  use the escape key if you wish to abort the process.
  956. Additional explanation of the screen display is covered in the next
  957. section of this manual.
  958.  
  959.  
  960. The Screen Display During the Database Build
  961. --------------------------------------------
  962.  
  963. The ZDCSDB status summary contains both useful and esoteric
  964. information.  The most important of these is the notice that the
  965. escape key is the one to use in order to abort the database build.
  966. Aborting the process any other way will almost certainly lead to lost
  967. clusters on your hard disk, not to mention a very unhappy sysop.
  968.  
  969. In general, ZDCS treats an SFX file made with either PKZIP or ARJ just
  970. like a ZIP or ARJ file, and this documentation has reflected that fact
  971. by using the term "zipfile" to refer to all of these archives.  For
  972. the purposes of this section, however, we will use the individual
  973. terms SFX and ZIP, since the screen display does distinguish between
  974. them.
  975.  
  976. One line in the middle of the screen will change frequently as ZDCSDB
  977. is processing files.  Besides letting you know that the system is
  978. working, this line tells you something about the processing steps as
  979. they take place, just in case you were curious.
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.                                   - 15 -
  989.  
  990.  
  991.  
  992.  
  993.  
  994. The possibilities are:
  995.  
  996. Initializing. ZDCSDB is pulling its act together and gearing up for
  997.                work
  998. Directory C1.. ZDCS has just begun processing a new directory
  999. Directory C2.. ZDCS has just retrieved the next ZIP / ARJ / SFX / GIF
  1000.                file within the same directory
  1001. ZIP Directry.. ZDCS is retrieving information from within an
  1002.                individual zipfile
  1003. SFXID......... ZDCS is testing whether the file being procesed is a
  1004.                self-extracting file, and if so which archive method
  1005.                (PKZIP or ARJ) was used to make it
  1006. SFX(A)........ ZDCS is retrieving information from within an
  1007.                individual SFX file made with ARJ
  1008. SFX(Z)........ ZDCS is retrieving information from within an
  1009.                individual SFX file made with PKZIP
  1010. ZIZ........... ZDCS is processing a zipfile (ZIP or ARJ) within a
  1011.                zipfile (ZIP) or ARJ) - often called an embedded archive
  1012. CRC........... ZDCS is calculating the CRC value for a GIF file
  1013. Fast Forward.. ZDCS has already encountered and processed this exact
  1014.                same file  (It takes good eyes and a slow computer to catch
  1015.                this indicator, which may come up when an aborted
  1016.                database build is resumed.)
  1017. Indexing...... ZDCS is writing the index and data to the Btree files
  1018.  
  1019. Underneath this changing line is a line that tells you which ZIP, ARJ,
  1020. SFX or GIF file is currently being processed, with the full pathname
  1021. included.  Below that is the phrase "Share" or "NoShare" to indicate
  1022. the type of "file opens" being used.  "Share" capability is detected
  1023. by all ZDCS programs to permit automatic use of the appropriate type
  1024. of file access.
  1025.  
  1026. Just to the right of that is the word "Archives" followed by the
  1027. number of ZIPs, ARJs, SFXs and GIFs that have been processed so far.
  1028. And to the right of that (no political statements implied) is the word
  1029. "Members" followed by a number.  That number counts all the individual
  1030. files (those within the ZIP, ARJ, SFX or GIF files) that have been
  1031. processed so far during this session.  (Remember, a GIF shows up as
  1032. having only one member file.)
  1033.  
  1034. And all the way to the right of that same line, way out in right
  1035. field, is the phrase "DB Total" followed by the number of member files
  1036. that are already in the database.
  1037.  
  1038. The next line down starts with "$:" (a dollar sign and a colon)
  1039. followed by a five digit number.  This is arcane internal status
  1040. information that will not be explained here.  (Consider yourself
  1041. lucky.)  The only time you are likely to need this is if there is a
  1042. problem with your system during the database build and we ask you to
  1043. read the screen display to us.
  1044.  
  1045. To the right of that esoterica is the start time.  The end time will
  1046. display immediately to the right of that as soon as the database build
  1047. is complete.  If you leave the room for a peanut butter and pickle
  1048. sandwich while the database is building, this provides a simple way to
  1049. tell if and when the process has finished.
  1050.  
  1051.  
  1052.  
  1053.  
  1054.                                   - 16 -
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060. All the way to the right, in fact in the lower right hand corner of
  1061. the display, is the word "Stack:" followed by a four digit number.
  1062. This is more arcane status information.
  1063.  
  1064.  
  1065. Additions to an Existing ZDCS Database
  1066. --------------------------------------
  1067.  
  1068. Adding new files to the existing ZDCS database is very simple.  If you
  1069. run the database build ZDCSDB when there already is an existing ZDCS
  1070. database, the records for the new files will be added to those already
  1071. in the database.  (If you temporarily rename or move the database
  1072. files mentioned in the database creation section, then ZDCS will not
  1073. recognize them until you restore them.)
  1074.  
  1075. This provides a very simple method for adding large or small file
  1076. collections to an existing database.  All you have to do is edit the
  1077. first line of the configuration file to point to the new files, and
  1078. you're ready to go.  Issue the command ZDCSDB and from here on the
  1079. process will proceed just the same way as it does for creating the
  1080. initial database.
  1081.  
  1082. There is a second way to add files to the ZDCS database.  Available
  1083. free on The Hacker Central BBS is a merge utility that lets you
  1084. combine two ZDCS databases into one.  This allows you to create
  1085. smaller databases at a time and then merge them together, which can be
  1086. an advantage if you have a very large collection to process.
  1087.  
  1088. The main advantage of the database merge option is that it allows
  1089. sysops to use pre-built ZDCS databases for common file collections,
  1090. like the popular CD-ROMs of shareware programs.  Pre-built databases
  1091. are also available on The Hacker Central BBS and are mentioned in more
  1092. detail in the section in this manual on support.
  1093.  
  1094. We recommend that you copy the necessary files over to a temporary
  1095. working directory and perform database merging there.  This has two
  1096. advantages:  it minimizes the chances that you'll get confused and
  1097. rearrange part of your "live" system;  and it doesn't interfere with
  1098. the operation of the bbs.  Pick your fastest available processor to
  1099. speed up the operation, and make sure you have enough disk space for
  1100. the new files, too.
  1101.  
  1102. The merge utility ZDCSDBMG.EXE, available in Z2-DBMG.ZIP on The Hacker
  1103. Central BBS, comes with a text file explaining step by step how to
  1104. perform a database merge using a temporary working directory.  The
  1105. same kind of instructions are also included with every pre-built CD-
  1106. ROM database available on The Hacker Central BBS.
  1107.  
  1108.  
  1109. ZDCSDB Without a Separate File Integrity Checker
  1110. ------------------------------------------------
  1111.  
  1112. ZDCS is not a file integrity checker and does not intend to replace
  1113. the fine checkers that are already available.  Normal operation of
  1114. ZDCS assumes that you have already processed your files with a file
  1115. integrity checker.
  1116.  
  1117.  
  1118.  
  1119.  
  1120.                                   - 17 -
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126. Human nature and circumstances being what they are, a special switch
  1127. has been included with the database build module to permit some simple
  1128. file integrity checking to be done.  This method has ZDCS call in
  1129. PKZIP or ARJ, whichever is appropriate, to test the zipfiles.  There
  1130. is no checking performed on GIFs at all.
  1131.  
  1132. To use this feature, you issue the database build command as ZDCSDB T
  1133. instead of ZDCSDB.  Because ZDCS now calls PKZIP or ARJ for the file
  1134. integrity checking in addition to the usual functions of the database
  1135. build, the processing time is greatly increased.  If you are only
  1136. processing a small collection of files, such as a batch of local
  1137. uploads, the difference in time is probably unimportant in practice.
  1138. But if you are processing a large set of files, you'll be better off
  1139. making your first pass with a file integrity checker and then using
  1140. the regular ZDCSDB command to build the database.
  1141.  
  1142. If you run ZDCSDB on a collection of files that includes a corrupt
  1143. zipfile, the database build may crash.  While you can find out after
  1144. the fact about the damaged zipfile by reading the log, it's still far
  1145. preferable to avoid the problem entirely by using file integrity
  1146. checking first.
  1147.  
  1148.  
  1149. The Database Build Log File ZDCS-DBB.LOG
  1150. ----------------------------------------
  1151.  
  1152. There is a log file called ZDCS-DBB.LOG created by the database build
  1153. operation.  This is an ASCII text file that logs messages from the
  1154. database creation process.
  1155.  
  1156. If ZDCSDB encountered damaged zipfiles while trying to build the
  1157. database, there would be messages alerting you to that fact in the log
  1158. file.
  1159.  
  1160. If you have any problems while running ZDCSDB, look in this log file
  1161. for help in understanding what happened.
  1162.  
  1163.  
  1164.  
  1165.  
  1166. THE ZDCS DUPLICATE REPORT GENERATOR
  1167. -----------------------------------
  1168.  
  1169. The primary purpose of the duplicate report generator ZDCSDR.EXE is to
  1170. use the information in your ZDCS database to give you a report of all
  1171. duplicate files in your file collection.  The usual time to do this is
  1172. after you have created the initial ZDCS database.
  1173.  
  1174. It is entirely likely that when you first create the initial database
  1175. you will already have some duplicate files in your collection of
  1176. zipfiles and GIFs.  To find out about them you need to run ZDCSDR.EXE.
  1177.  
  1178. First, make sure that your CONFIG.SYS file contains the following
  1179. line:
  1180.  
  1181.           FCBS=32,32
  1182.  
  1183.  
  1184.  
  1185.  
  1186.                                   - 18 -
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192. This is absolutely essential for the database report generator (and
  1193. the merge utility).  No fooling around.  If you have to add this line
  1194. to your CONFIG.SYS, remember to reboot afterwards so that the change
  1195. takes effect.
  1196.  
  1197. Second, switch to a directory (any directory will do) that has enough
  1198. space available to handle the temporary files that will be created
  1199. during the duplicate report generation.  These files are normally
  1200. deleted again when the report is completed, but you need to have
  1201. enough room to store them while the operation is in progress.  If you
  1202. have less space available than ZDCSDR.EXE =estimates= it will need,
  1203. you'll be given the bad news and the opportunity to cancel the report
  1204. generation.
  1205.  
  1206. Third, run ZDCSDR.EXE.  This program is part of the ZDCS package and
  1207. should be in your ZDCS directory with all the rest of the executables.
  1208. (Your ZDCS directory should be in your path.)  This will create an
  1209. ASCII text file containing a three part report that is ready for
  1210. viewing or printing.
  1211.  
  1212. Part one is a list of zipfiles or GIFs that are 100% duplicates of
  1213. other files in the database.  Part two is a list of zipfiles that have
  1214. some level of duplication, but also contain at least one non-
  1215. duplicated file.  Part three is the complete list of all duplicate
  1216. files in the database, including the name and CRC value of the
  1217. duplicated file and the identity with full drive and pathname of the
  1218. zipfile or GIF containing the dupe.
  1219.  
  1220. Note that no duplicate files are deleted by ZDCSDR.EXE when you create
  1221. the initial database.  The list of duplicates, ZDCS-DUP.LST, can be
  1222. used by the sysop to remove any duplicate files in the system.
  1223.  
  1224. Once you have the list of duplicates ZDCS-DUP.LST in hand, you are
  1225. ready to clean out your file system.  Use the information to remove
  1226. any duplicate files from the file collection.  On some of the larger
  1227. bbs file systems, this step alone has freed up megabytes of hard drive
  1228. space.
  1229.  
  1230. After you are sure you have finished cleaning up the file system, it
  1231. is possible to purge duplicate entries from the ZDCS database in order
  1232. to reduce its size.  The command to do this is ZDCSDR P and it should
  1233. =not= be used until you have read the next section in this manual, THE
  1234. ZDCS DATABASE PURGE.
  1235.  
  1236. There are two other switches that can be used to change the operation
  1237. of ZDCSDR.EXE - L and S.
  1238.  
  1239. Issuing the command ZDCSDR L will cause the usual database report to
  1240. be generated, but all those temporary work files will not be deleted.
  1241. This requires a lot of extra disk space to use.  The main reason for
  1242. this switch is debugging purposes.
  1243.  
  1244. Issuing the command ZDCSDR S will sort the database and regenerate the
  1245. ZDCS.NDX file from the existing ZDCS.DAT file.  This has a couple of
  1246. uses:
  1247.  
  1248. 1. If your ZDCS.NDX file has become corrupted or destroyed (we won't
  1249.    ask how, stranger things have happened on computers before), then
  1250.    
  1251.  
  1252.                                   - 19 -
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.    this feature will let you recreate the ZDCS.NDX file without
  1259.    having to recreate the entire ZDCS database from scratch.  If you
  1260.    had a ZDCS.NDX file in the directory before using this feature, it
  1261.    will be overwritten by the fresh index file.
  1262.  
  1263. 2. If you have obtained the *.DAT file for a ZDCS 2.01 database and
  1264.    you want to recreate the *.NDX file, this feature will let you do
  1265.    that.  You'll notice that all the pre-built CD-ROM databases
  1266.    available on The Hacker Central BBS only have the .DAT file and no
  1267.    .NDX file.  (The *.NDX file isn't needed for the database merge
  1268.    and not including it saves on disk space and transfer time.)  Each
  1269.    of these pre-built databases comes with step by step instructions
  1270.    for using this feature to recreate the index file.  The
  1271.    instructions include the creation of a temporary working directory
  1272.    so that you won't interfere with the "live" installation of ZDCS
  1273.    on your bbs.
  1274.  
  1275. 3. If you've added many new files to your ZDCS database (either with
  1276.    lots of uploads, lucky you, or with database merges), then you
  1277.    might want to investigate this feature.  Running ZDCSDR S on your
  1278.    system will sort your ZDCS.DAT file and will rebuild the ZDCS.NDX
  1279.    file to correspond to the newly reorganized ZDCS.DAT.  This makes
  1280.    for a slightly more efficient operation.  The time you regain in
  1281.    faster processing speed will depend on how badly out of sorts the
  1282.    database had become.  (no pun intended, of course)
  1283.  
  1284.    We recommend running ZDCSDR S to sort the database and regenerate
  1285.    the index file once a year.  Unless you process an unusually high
  1286.    number of files, there's not much need to do it more frequently
  1287.    than that.  Certainly you should =not= put this into your daily
  1288.    event on the board, or it will eat up more time than you'll save.
  1289.    While this operation is much faster than the database creation
  1290.    step, it can still take from 20 minutes to 2 hours to complete
  1291.    (depending on the size of your system).  If you run ZDCSDR S once
  1292.    an average year, your gain in processing speed for upload checking
  1293.    will probably be somewhere between 1% and 10%.
  1294.  
  1295. If you forget which switch does what, you can always issue the command
  1296. ZDCSDR ? and the question mark will tell ZDCS to list the various
  1297. options for you:
  1298.  
  1299.        = Generate the duplicate report.
  1300.          (default choice, no command line parameters needed)
  1301.      P = Purge duplicate records from your ZDCS database.
  1302.      S = Sort and re-index the ZDCS database without purging.
  1303.      L = Perform the standard duplicate report without purging the
  1304.          database, but leave all temporary work files in place.
  1305.  
  1306.  
  1307.  
  1308.  
  1309. THE ZDCS DATABASE PURGE
  1310. -----------------------
  1311.  
  1312. Every duplicate file in your initial collection of files on the bbs
  1313. will be reflected by a duplicate entry in the CRC32 database, which
  1314. ZDCS uses as its standard of comparison for checking new uploads.
  1315.  
  1316.  
  1317.  
  1318.                                   - 20 -
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324. Only one entry for each unique file is needed in order to recognize
  1325. future uploads of the same file.  You can reduce the size of this ZDCS
  1326. database by purging duplicate entries from it.  This leaves just one
  1327. single reference to each individual CRC32 in the database.
  1328.  
  1329. Before you make any changes to the ZDCS database at all, please read
  1330. the section in this manual on the duplicate report generator ZDCSDR.
  1331. The reporting function of this module will supply you with an accurate
  1332. list of all your duplicate files, including the necessary path
  1333. information - but only if you run it =before= you purge the database.
  1334. Without this list, you'll be hard pressed to find and remove the
  1335. duplicate files from your system.  We strongly recommend that you not
  1336. only generate this report but also finish cleaning out the file system
  1337. before you purge anything.
  1338.  
  1339. When you feel you are ready to purge the database, start by making a
  1340. backup copy of it first.  This is very important.  =Please= make a
  1341. copy of the database and put it away somewhere safe before you start
  1342. purging info from the original.  Once you purge this information, the
  1343. only way to restore it is to rebuild the database.  While it is always
  1344. possible to rebuild the database, this takes a fair bit of time,
  1345. especially for larger systems.  And what sysop has enough time?
  1346.  
  1347. By now you are probably really ready to get on with it.  To purge the
  1348. database of duplicates, you use the duplicate report generator module
  1349. ZDCSDR.EXE with the P (for Purge) switch.  All you have to do is type
  1350. ZDCSDR P and hit the enter key.  The P will redirect the program to
  1351. purging the duplicates instead of creating a report on them.  There is
  1352. nothing else to do until the purge is complete.  This is not a fast
  1353. process, but it will pay you back with a smaller database.
  1354.  
  1355.  
  1356.  
  1357.  
  1358. BBS ADS
  1359. -------
  1360.  
  1361.  
  1362. Function
  1363. --------
  1364.  
  1365. There are some files that you really and truly don't want on your bbs
  1366. at all, ever, period.  These could be illegal cracks that make the
  1367. rounds every now and then, or part of the endless succession of
  1368. pyramid schemes and scam files, or our own favorites, those rude bbs
  1369. ads some boards feel compelled to include in every one of their files.
  1370. This whole group of junk files is collectively and affectionately
  1371. known as bbs ads.
  1372.  
  1373. ZDCS offers a way to recognize the reappearance of these files.  ZDCS
  1374. will let you target them for deletion or simply flag them for manual
  1375. removal, independent of whether or not you have enabled the deletion
  1376. of duplicate files.  The distinction here is that the bbs ads are
  1377. =known= files that you have given ZDCS specific orders to deal with.
  1378.  
  1379. In order to recognize a file as a bbs ad, you must first tell ZDCS
  1380. about it.  This is done by setting up the bbs ads database.  After
  1381. that, every time ZDCS sees the same file again it knows that it's a
  1382. bbs ad.
  1383.  
  1384.                                   - 21 -
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390. Since this option is completely independent of the option to delete
  1391. duplicate files, you don't have to take a chance on removing authors'
  1392. unchanged files from newer shareware versions.  The bbs ads option
  1393. does not operate on a GIF file.
  1394.  
  1395.  
  1396. Creation of the BBS Ads Database
  1397. --------------------------------
  1398.  
  1399. All you need to create the bbs ads database is the program ZDCSBA.EXE
  1400. and a collection of bbs ads, pyramid schemes, chain letters or other
  1401. obnoxious files.
  1402.  
  1403. Once created, the bbs ads database will consist of a single file, ZDCS-
  1404. BBA.NDX, which will be located in the ZDCS directory along with the
  1405. rest of the ZDCS files.  You can delete this file at any time if you
  1406. want to start over again with a fresh collection of files.
  1407.  
  1408. The easiest way to create the bbs ads database involves grouping all
  1409. those nasty bbs ads together and collecting them into one zipfile.
  1410. You can use either PKZIP or ARJ and select whatever name you like for
  1411. the archive.  Then you run the program ZDCSBA.EXE from your ZDCS
  1412. directory.
  1413.  
  1414. This is easy to see with an example.  If your collection of files to
  1415. be added is called BBS-ADS (.ZIP if created with PKZIP, .ARJ if made
  1416. with ARJ), then the command you issue to create the bbs ads database
  1417. with these files is:
  1418.  
  1419.      ZDCSBA BBS-ADS.ZIP       or        ZDCSBA BBS-ADS.ARJ
  1420.  
  1421. You don't have to do anything else.  The program handles everything
  1422. for the creation of the bbs ads database.
  1423.  
  1424. If you want to create a new bbs ads database in the future, just
  1425. delete the old database file (ZDCS-BBA.NDX) and follow the steps for
  1426. creating a new bbs ads database.  If you don't delete the old
  1427. database, then the new ads will be added to the old ones in the
  1428. database, which is an easy way to add new bbs ads.  There are many
  1429. other ways to add bbs ads, which are described in the next section.
  1430.  
  1431.  
  1432. Updating the BBS Ads Database
  1433. -----------------------------
  1434.  
  1435. There are four easy ways to add new bbs ads as they are foisted off on
  1436. the bbs community.
  1437.  
  1438. 1. You can run ZDCSBA.EXE on a new collection of bbs ads when you
  1439.    already have an existing bbs ads database.  This is good even if
  1440.    the archived collection only has a single file in it, and it
  1441.    doesn't matter whether you use PKZIP or ARJ to create that
  1442.    archive.  ZDCSBA.EXE works just the same way here as it does for
  1443.    creating a new database, with one exception:  the files being
  1444.    processed are added to the existing database.  That's all there is
  1445.    to it.
  1446.  
  1447.  
  1448.  
  1449.  
  1450.                                   - 22 -
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.    Example. Let's say that you've collected some bbs ads from your
  1457.             board, your own downloads, and even from friends.  You zip
  1458.             the entire set together and call it JUNK.ZIP.  To include
  1459.             these files in the bbs ads database, just issue the
  1460.             command:
  1461.  
  1462.                          ZDCSBA JUNK.ZIP
  1463.  
  1464. 2. You can run ZDCSBA.EXE on an individual bbs ad without bothering
  1465.    to archive it first.  This is a quick way to catch a new bbs ad as
  1466.    soon as you are lucky enough to get it.
  1467.  
  1468.    Example. You've just come across an obnoxious get-rich-quick scheme
  1469.             called MOOLAH.TXT.  To put this file in the bbs ads
  1470.             database, just issue the command:
  1471.  
  1472.                          ZDCSBA MOOLAH.TXT
  1473.  
  1474. 3. You can even run ZDCSBA to include a file in the bbs ads database
  1475.    when you don't have the original file, as long as you have the
  1476.    CRC32 value for it.  Just run ZDCSBA on the CRC32 value
  1477.    immediately preceded by a dollar sign $, instead of on the file
  1478.    itself.
  1479.  
  1480.    Example. You don't have the original ad anymore, but you have a
  1481.             record that the CRC32 of a new bbs ad is 12345678.  To put
  1482.             this file in the bbs ads database, just issue the command:
  1483.  
  1484.                          ZDCSBA $12345678
  1485.  
  1486. 4. You can also run ZDCSBA.EXE on an ASCII list of CRC values.  This
  1487.    feature was added because lists of the CRC values for bbs ads have
  1488.    now been assembled by some sysops and have started appearing on
  1489.    boards like Salt Air.  Instead of processing each CRC value
  1490.    individually, you can process the whole list at once.  In the
  1491.    example immediately above, you would replace the dollar sign by
  1492.    the at symbol @ followed immediately by the complete filename
  1493.    (with path if not located in the current directory) of the list of
  1494.    CRC values.
  1495.  
  1496.    Example. You just picked up a list of CRC32s for a new crop of bbs
  1497.             ads.  The filename of the list is MORE-SOM.TXT.  To add
  1498.             all the CRC values in this file to the bbs ads database,
  1499.             just issue the command:
  1500.  
  1501.                          ZDCSBA @MORE-SOM.TXT
  1502.  
  1503. You can use any or all of these methods to add new records to the bbs
  1504. ads database.  If you have an assortment of ZIP and ARJ collections, a
  1505. *.COM program that generates a flashing ANSI bbs ad, a couple of plain
  1506. text chain letters, a few files known only by CRC32, and a list of
  1507. pyramid scam file CRCs, the essential data can all be entered into the
  1508. same database without having to use the same technique for each case.
  1509.  
  1510. In fact, there's even a way to dump the contents of the bbs ads
  1511. database to a flat ASCII file.  The result is a text file with one CRC
  1512. value on each line, the same format as the input file for method
  1513.  
  1514.  
  1515.  
  1516.                                   - 23 -
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522. number four above.  This means that you can "spit back" the
  1523. information in your bbs ads database in a format that another ZDCS
  1524. user can easily incorporate into his or her bbs ads database.  The
  1525. command to regurgitate these CRC values is ZDCSBA #<filename>.
  1526.  
  1527. Example. You'd like to share your accumulated bbs ads information with
  1528.          another sysop, and you want to call the file CRC-DUMP.TXT.
  1529.          Just issue the command:
  1530.  
  1531.                ZDCSBA #CRC-DUMP.TXT
  1532.  
  1533. The variety of ways you can add new bbs ads to the database makes it
  1534. easy to share information with other sysops and to catch new
  1535. annoyances as they are let loose on us.
  1536.  
  1537.  
  1538. Selecting Deletion or Flagging of BBS Ads
  1539. -----------------------------------------
  1540.  
  1541. If you have built the bbs ads database, ZDCS will automatically detect
  1542. its presence and will compare uploads against the records in the bbs
  1543. ads database.  What ZDCS does with any matches it finds depends on how
  1544. you set up the configuration file.
  1545.  
  1546. In line 8 of the ZDCS configuration file ZDCS.CFG, you typed one of
  1547. two letters:  Y or N.  The letter Y tells ZDCS to delete the offending
  1548. bbs ad.  The letter N tells ZDCS not to delete it, but just to flag it
  1549. as a bbs ad.
  1550.  
  1551. When a bbs ad in an upload is merely flagged, that information is
  1552. still displayed to the caller and recorded in the log for the upload
  1553. file checker.  If you wish, you can go back and manually delete such
  1554. files later on.
  1555.  
  1556. Whether or not the bbs ad is flagged, as soon as it is identified as a
  1557. bbs ad it is not counted in the calculation for the percentage of
  1558. dupes in the upload.  Once you know it's a bbs ad, you really don't
  1559. care if it's a duplicate of one that's managed to get into your
  1560. database.  By definition, a bbs ad is something you don't want and
  1561. would rather not have.
  1562.  
  1563. It is possible for this option to disturb an AV stamp on an uploaded
  1564. ZIP file, but only under the following rather narrow set of
  1565. circumstances:
  1566.  
  1567. 1.   The upload was created with PKZIP and contains an AV stamp =and=
  1568.  
  1569. 2.   one or more of the files in the ZIP is flagged as a bbs ad =and=
  1570.  
  1571. 3.   the bbs ad file is located =inside= the AV stamp =and=
  1572.  
  1573. 4.   you have enabled deletion of bbs ads.
  1574.  
  1575. If any of these four steps are missing, then there is no disturbing of
  1576. an AV stamp as a result of bbs ad processing.
  1577.  
  1578. You can change your mind about using deletion or flagging to deal with
  1579. bbs ads at any time.  All you have to do is edit line 8 in the
  1580.  
  1581.  
  1582.                                   - 24 -
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588. configuration file.  No other changes need to be made to run with the
  1589. new option.
  1590.  
  1591.  
  1592.  
  1593. ALLOWED DUPLICATES
  1594. ------------------
  1595.  
  1596. Allowed dupes are a special case.  They are not flagged as dupes when
  1597. they are encountered by ZDCS;  they are also not considered "original"
  1598. or non-dupe files.  Whether or not these files are already present on
  1599. your system, you specifically don't want ZDCS to treat any future
  1600. occurrences of them as dupes.  By identifying these files as allowed
  1601. duplicates, you are protecting them from deletion, even if you have
  1602. configured ZDCS to delete duplicate files.
  1603.  
  1604. Furthermore, when ZDCS evaluates the actual percentage of duplicates
  1605. in an upload, all files that are allowed duplicates are not counted.
  1606. They are transparent in any calculations, completely and utterly
  1607. ignored.  They aren't even counted when reporting the number of files
  1608. in the archive.
  1609.  
  1610. The reason behind the concept of allowed duplicates is that there are
  1611. some files that reappear frequently as critical components of more
  1612. than one major shareware package or upgrade version.  These might be
  1613. order forms, registration guides, general text files, small utilities
  1614. or other files.  Two common examples are the OMBUDSMN.ASP file found
  1615. in all ASP-ware and the VALIDATE.COM program included in every
  1616. revision of McAfee's SCAN package.  Both files turn up unchanged in
  1617. many zipfiles.  It would be misleading to treat these files as
  1618. ordinary duplicates.
  1619.  
  1620. There are two functional advantages to using allowed duplicates.
  1621. First, by not counting allowed duplicates in the actual percentage of
  1622. dupes calculation for new uploads, your system does not "penalize" a
  1623. zipfile for having one or more of these files when it comes to
  1624. deciding whether to accept or decline the file.  This is especially
  1625. significant if you have set a pretty high standard for the
  1626. "uniqueness" of uploads that your bbs will accept.  This is easier to
  1627. see with a real example.
  1628.  
  1629. Example.  Suppose a zipfile had a total of 24 files.  Four of those
  1630. were allowed dupes and eight were regular dupes.  ZDCS would calculate
  1631. the following information:
  1632.  
  1633.           20   files in the archive
  1634.            8   dupes
  1635.           40%  dupes
  1636.  
  1637. The number of files in the archive would be 20 and not 24 because the
  1638. four allowed dupes are excluded from all the calculations.  The
  1639. percentage of dupes would be 40% (100% * 8/20).
  1640.  
  1641. If those allowed duplicates had been counted in as dupes, then the
  1642. percentage of dupes would have been reported as 50% instead of 40%.
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.                                   - 25 -
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654. (The total number of files would have been 24 instead of 20 and the
  1655. number of dupes would have risen to 12.)  If you had set the maximum
  1656. percentage of dupes for your system to 45%, then counting in the
  1657. allowed duplicates as dupes would have caused this upload to be
  1658. declined.  (That maximum percentage is set in line 6 of the
  1659. configuration file and can be changed without needing to reinstall
  1660. ZDCS.)
  1661.  
  1662. The second advantage is for those systems that configure ZDCS to
  1663. delete duplicate files.  The use of allowed duplicates can protect
  1664. popular shareware packages from being stripped of important files.
  1665. Not only does the deletion of such files alter the content of the
  1666. author's shareware package, but it also destroys any AV stamp the
  1667. author placed on the work.
  1668.  
  1669. Whether or not the option to recognize allowed dupes is enabled is
  1670. controlled by the presence or absence of an ASCII text file called
  1671. ZDCS.ADN in the ZDCS directory on your system.  This file is one that
  1672. you create with any text editor to list all the files, one per line,
  1673. that are allowed duplicates.  You can designate an allowed duplicate
  1674. by either its file name or its CRC value.  You can even mix the two
  1675. styles in the same file if you want to specify some files by name
  1676. (like VALIDATE.DOC) and others by CRC value.
  1677.  
  1678. To specify an allowed duplicate by name, just type the dollar sign $
  1679. followed immediately by the name of the file with its extension.
  1680. Don't leave any blank spaces in between.  This preserves a file with a
  1681. distinctive name (like OMBUDSMN.ASP) even if it undergoes some
  1682. revisions.
  1683.  
  1684. To specify an allowed file by its CRC32 value, type the pound sign #
  1685. followed by the CRC32 for the file.  Again, don't leave any blank
  1686. spaces in between.  If you don't know the CRC32 offhand, you can get
  1687. this information from PKZIP or ARJ.  For an archive made by PKZIP, use
  1688. the command
  1689.  
  1690.           PKZIP -V <archive name>
  1691.  
  1692. to give you the CRC values for each individual file inside the
  1693. zipfile.  For an archive made by ARJ, the corresponding command is
  1694.  
  1695.           ARJ L <archive name>
  1696.  
  1697. The ZDCS.ADN file may be up to 256 lines long, but must contain no
  1698. blank lines and no blank spaces.  You can edit, delete or recreate
  1699. this file at any time without having to set any other switches, alter
  1700. the configuration file, or make any other changes to the setup of
  1701. ZDCS.
  1702.  
  1703. While the expected application of the allowed duplicates concept is
  1704. with zipfiles, the feature does work for GIF files too.  If a GIF is
  1705. included among the allowed duplicates, then a repeat upload of the
  1706. same GIF will not be flagged as a duplicate, and the upload will be
  1707. accepted.
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.                                   - 26 -
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720. THE UPLOAD FILE CHECKER
  1721. -----------------------
  1722.  
  1723.  
  1724. Purpose
  1725. -------
  1726.  
  1727. Once you have created the initial ZDCS duplicate file database, you
  1728. can get the bbs to check all uploaded zipfiles and GIFs against it
  1729. from then on.  This is done by processing the uploaded zipfiles and
  1730. GIFs with the upload file checker ZDCSFC.EXE as the files are
  1731. received.  The primary purpose is to catch uploaded files that
  1732. duplicate ones already on the bbs.
  1733.  
  1734. ZDCSFC.EXE can also flag bbs ads, as described in that section of this
  1735. manual.  Depending on whether you have enabled any deletion options in
  1736. the configuration file, ZDCSFC.EXE can also perform deletions of
  1737. duplicate files and / or bbs ads.  With the use of a list of allowed
  1738. duplicates, also described in a separate section in this manual, the
  1739. file checking performed by ZDCSFC.EXE can be made even more
  1740. sophisticated.
  1741.  
  1742.  
  1743. Function
  1744. --------
  1745.  
  1746. ZDCSFC.EXE works with the CRC value for each file in an upload.  If
  1747. the uploaded file is a GIF, it first calculates the CRC value for that
  1748. file.  If the uploaded file is a zipfile, ZDCSFC.EXE reads the CRC
  1749. value for each individual file in the zipfile.
  1750.  
  1751. Then ZDCSFC.EXE compares the CRC for each file in the upload against
  1752. the ZDCS database.  If you have created the bbs ads database, which
  1753. you would have left in the ZDCS directory on your system, ZDCSFC.EXE
  1754. also compares the files in the upload against the bbs ads database.
  1755. And if you have created the allowed duplicates list, also located in
  1756. the ZDCS directory, ZDSCFC.EXE will check the upload against that,
  1757. too.
  1758.  
  1759. The results are displayed file by file for the caller after the upload
  1760. has been received and processed, providing real time feedback.  The
  1761. same information is also available to the sysop on screen and as part
  1762. of the ZDCSFC.EXE log file.  The complete path and file name for this
  1763. log were specified in line 7 of the configuration file.
  1764.  
  1765. ZDCSFC.EXE also calculates the actual percentage of duplicates in any
  1766. upload and compares this against the maximum percentage you have set
  1767. for the board.  On the basis of this comparison, an upload may be
  1768. accepted or declined.  Declined uploads are not deleted from the
  1769. system.  PCBoard keeps a declined upload in your private directory for
  1770. sysop review.
  1771.  
  1772. The calculation of percent duplicates is covered in more detail in the
  1773. next section of this manual.
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.                                   - 27 -
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786. Maximum and Actual Percent Dupes in an Upload
  1787. ---------------------------------------------
  1788.  
  1789. ZDCSFC.EXE calculates the actual percentage of duplicate files in the
  1790. upload.  Since a GIF is a single file, it will either be 0% (not a
  1791. dupe) or 100% (a dupe).  For zipfiles, this actual percentage can vary
  1792. anywhere between 0 and 100.  ZDCSFC.EXE compares this actual
  1793. percentage against the maximum percentage you set in line 6 of the
  1794. configuration file.
  1795.  
  1796. If the actual percentage is lower than the maximum, the upload is
  1797. accepted.   If the actual percentage is equal to or higher than the
  1798. maximum you specified, the upload is declined.  PCBoard keeps these
  1799. declined files in your private upload directory, where you can review
  1800. them.  Some callers have become frantic at the idea that a "declined"
  1801. file is thrown out.  This does =not= happen with ZDCS.
  1802.  
  1803. If you want to bypass this filter, set the percentage to 100.  This
  1804. permits a duplicated GIF or a zipfile with nothing but duplicates to
  1805. pass the filter and never be declined.  At the other extreme, you can
  1806. set the percentage to 0.  This effectively requires that the uploaded
  1807. GIFs and zipfiles have no duplicates at all, or they will be declined.
  1808.  
  1809. When you are deciding how high to set the maximum percentage of dupes,
  1810. it helps to understand how the dupe calculation works when a file is
  1811. uploaded.
  1812.  
  1813. If any allowed duplicates are found, they are excluded from =all=
  1814. calculations.  Once it identifies an allowed duplicate, ZDCS will not
  1815. figure it into the math, not even into the total number of files.
  1816. Allowed duplicates are explained in more detail in an earlier section
  1817. of this manual.
  1818.  
  1819. If any bbs ads are found, they are not part of the calculation of
  1820. original and duplicate files.  You already know you don't want any
  1821. file that you've specified as a bbs ad, so it doesn't matter to you
  1822. whether this one is "original" on your system or one that's found its
  1823. way into the ZDCS database already.  What does matter is that the file
  1824. is unwelcome either way, and so it isn't figured into this
  1825. calculation.
  1826.  
  1827. To see how this works out in real life, let's look at two examples.
  1828.  
  1829. Example 1.
  1830.  
  1831.    ICONS-HO!.ZIP is uploaded to your system.  There are 61 files in
  1832.    the archive.  Of these, four are in your bbs ads database (the
  1833.    file got around) and one is in the allowed duplicates list.  Of
  1834.    the remaining 56 files (61-4-1=56), fourteen are already present
  1835.    on your system.  ZDCS will figure the results like this:
  1836.  
  1837.       60  member files   (61 minus the one allowed duplicate)
  1838.        4  bbs ads
  1839.       14  dupes
  1840.       25% percent dupes  (14 dupes divided by 56 files, not by 60 or
  1841.                          61)
  1842.  
  1843.  
  1844.  
  1845.  
  1846.                                   - 28 -
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852. Example 2.
  1853.  
  1854.    CORNDOG.ARJ is uploaded to your system.  There are 14 files in the
  1855.    archive.  Of these, one is a bbs ad and five are allowed
  1856.    duplicates.  Of the remaining 8 files (14-1-5=8), all eight are
  1857.    dupes.  Here's how ZDCS would figure the numbers:
  1858.  
  1859.        9  member files   (14 minus the 5 allowed duplicates)
  1860.        1  bbs ad
  1861.        8  dupes
  1862.      100% percent dupes  (8 dupes divided by 8 files, not by 9 or 14)
  1863.  
  1864. The configuration file section in this manual points out that the
  1865. maximum percentage of dupes in line 6 must be a whole number, not a
  1866. decimal.  This is because ZDCS deliberately truncates any decimal from
  1867. this value.  ZDCS does not round up or down but performs a
  1868. straightforward truncation on both the actual and the maximum
  1869. percentage of dupes.  This was done for reasons of memory management.
  1870. An example may make it clearer how this approach works in actual
  1871. practice.
  1872.  
  1873. Suppose that the maximum percentage of duplicates is set to 20.  An
  1874. upload with an actual percentage of 19.9 would be truncated down to
  1875. 19.  ZDCS would see that 19 is less than 20 and would accept this
  1876. upload.  If the actual percentage were rounded instead of truncated,
  1877. it would be 20 instead of 19.  ZDCS would then decline this upload
  1878. because the actual percentage would not be less than the maximum
  1879. percentage of dupes.
  1880.  
  1881.  
  1882. Updating ZDCS Database(s) After an Upload
  1883. -----------------------------------------
  1884.  
  1885. ZDCSFC.EXE automatically updates the duplicate files database with the
  1886. CRC values of all uploads.  You do not have to do anything special to
  1887. include this information in the database for comparison with future
  1888. uploads.
  1889.  
  1890. ZDCSFC.EXE does not modify the bbs ads database at all.  It's still
  1891. not smart enough to recognize a bbs ad until you've pointed it out
  1892. first - but it does remember them next time it sees them.  Please see
  1893. the section in this manual on the bbs ads database if you want to know
  1894. more about how the bbs ads database can be updated.
  1895.  
  1896.  
  1897. DOS Error Levels
  1898. ----------------
  1899.  
  1900. In addition to creating the required PCBPASS.TXT and PCBFAIL.TXT
  1901. files, ZDCSFC.EXE also sets the DOS error level when it exits.  These
  1902. levels are:
  1903.  
  1904.  
  1905. 0    No duplicate files were found within the upload.
  1906.  
  1907. 1    Some duplicates were found, but the upload passed the
  1908.      percentage test.
  1909.  
  1910.  
  1911.  
  1912.                                   - 29 -
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918. 2    Too many duplicates were found, and the upload failed the
  1919.      percentage test.
  1920.  
  1921. 3    Every file within the upload was a duplicate.
  1922.  
  1923. 4    There is still no number 4.  (Reserved for future expansion.)
  1924.  
  1925. 5    Upload checking by ZDCSFC was aborted.  Please see log file
  1926.      for error message.
  1927.  
  1928.  
  1929.  
  1930.  
  1931. CALLING THE UPLOAD FILE CHECKER
  1932. -------------------------------
  1933.  
  1934. ZDCS is not a replacement for using a file integrity checker on your
  1935. uploads.  You should always use some kind of integrity testing on
  1936. files before they are added to the system.  ZDCS is called after that
  1937. integrity checking is performed, so how you call ZDCS may be affected
  1938. by which integrity checker you are using.
  1939.  
  1940.  
  1941. Calling ZDCSFC.EXE from EXZTEST
  1942. -----------------------------
  1943.  
  1944. If you have decided to use EXZTEST as your file integrity checker,
  1945. please stop by The Hacker Central BBS and pick up a copy of EXZTEST
  1946. version 2.23 beta 7MWC (or higher).  This is a freeware version of the
  1947. program that contains some bug fixes not available in any earlier
  1948. versions.
  1949.  
  1950. EXZTEST version 2.23 beta 7MWC provides a seamless integration with
  1951. ZDCS that takes care of calling the ZDCSFC.EXE program, feeding it the
  1952. information it needs, and completing any file deletions that you have
  1953. enabled.  This is not necessarily true of earlier versions of EXZTEST.
  1954.  
  1955. A sample PCBTEST.BAT file that calls the version 2.23 of EXZTEST is
  1956. included with this package.  For more information on the ZDCS
  1957. integration implemented in EXZTEST 2.23, please see the documentation
  1958. for EXZTEST.
  1959.  
  1960. More detailed information can be found in this manual in the section
  1961. on calling ZDCSFC.EXE from the PCBTEST.BAT file.  This section is more
  1962. general and addresses the use of any file integrity checker.
  1963.  
  1964.  
  1965. Calling ZDCSFC.EXE from the PCBTEST.BAT File
  1966. --------------------------------------------
  1967.  
  1968. ZDCS should always be used in conjunction with a file integrity
  1969. checker.  When processing new uploads, the file integrity checker
  1970. should be called from the PCBTEST.BAT file before ZDCSFC.EXE.  If you
  1971. are using the PCBDescribe feature in PCBoard 14.5a, that command
  1972. should be used first of all.
  1973.  
  1974. To use ZDCS with the file integrity checker of your choice (even if
  1975. it's just PKZIP -T), there are four basic pieces you need to include
  1976. in the PCBTEST.BAT file.
  1977.  
  1978.                                   - 30 -
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984. 1. Include the following three lines to clean out old copies of
  1985.    these files left over from processing other uploads:
  1986.  
  1987.                @IF EXIST PCBFAIL.TXT DEL PCBFAIL.TXT
  1988.                @IF EXIST PCBPASS.TXT DEL PCBPASS.TXT
  1989.                @IF EXIST ZDCS-DEL.LST DEL ZDCS-DEL.LST
  1990.  
  1991.    PCBFAIL.TXT contains information displayed to the caller when an
  1992.    upload is declined.  PCBPASS.TXT contains the information
  1993.    displayed when the upload is accepted.
  1994.  
  1995.    ZDCS-DEL.LST is a list of files targeted by ZDCS for deletion from
  1996.    an upload.  These might be duplicate files, bbs ads, or both.  If
  1997.    you haven't enabled any deletion options in the configuration
  1998.    file, or if there were no files meeting the criteria for deletion,
  1999.    ZDCS would not generate the ZDCS-DEL.LST file for that upload.  By
  2000.    deleting the files here, you make sure that no old deletion
  2001.    instructions are hanging around when a new file is processed.
  2002.  
  2003. 2. Call your file integrity tester to process the upload.  The exact
  2004.    command to do this will depend on which integrity checker you are
  2005.    using.  The most basic and rudimentary one of all is to make use
  2006.    of this ability in your chosen archiver.  In PKZIP you would use
  2007.    the -T switch and in ARJ you would use the T switch.  Or you can
  2008.    use a file integrity tester designed to check for file damage,
  2009.    viruses, and much more.
  2010.  
  2011. 3. Call ZDCSFC.EXE to check the upload.  The appropriate command is:
  2012.  
  2013.                ZDCSFC %1 %2 %3
  2014.  
  2015.    If you are running a version of PCBoard older than the May 22,
  2016.    1991 version 14.5a, PCBoard will provide only two parameters.
  2017.    Since the third one is absolutely necessary for pre-testing, that
  2018.    means you must disable the pre-testing feature.
  2019.  
  2020.    If you are using a newer version of PCBoard but you don't want to
  2021.    use the pre-testing right now, it is still strongly recommended
  2022.    that you leave the third parameter in place.  It does no harm and
  2023.    could save you some grief if you change your mind in the future.
  2024.  
  2025.    At the end of processing by ZDCSFC.EXE, you might have a new file
  2026.    called ZDCS-DEL.LST.  This depends on whether you have enabled any
  2027.    deletions and on whether there were any files in the upload that
  2028.    met your criteria for deletion.  If no files are to be deleted,
  2029.    this control file won't be created.
  2030.  
  2031. 4. Perform the deletion of files specified by ZDCSFC.EXE.
  2032.  
  2033.           IF EXIST ZDCS-DEL.LST PKZIP -D %1 @ZDCS-DEL.LST
  2034.           IF EXIST ZDCS-DEL.LST ARJ D %1 !ZDCS-DEL.LST
  2035.  
  2036.    Both the PKZIP-specific and ARJ-specific commands can be included.
  2037.    The system will return an error message when the "wrong" one is
  2038.    encountered, but this error message will not hang the system or
  2039.    cause any problems with the processing.
  2040.  
  2041.  
  2042.  
  2043.  
  2044.                                   - 31 -
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.    Note that the actual deletion is done by PKZIP or ARJ.  ZDCSFC.EXE
  2051.    creates the control file ZDCS-DEL.LST to specify the deletions and
  2052.    PCBTEST.BAT passes this file to PKZIP or ARJ at this point.  This
  2053.    is also the only time an existing PKZIP AV stamp or an ARJ
  2054.    security envelope on an upload is affected by ZDCS.  More
  2055.    information on these is available in two separate sections of this
  2056.    manual:  PKZIP AV STAMP INTEGRITY and ARJ SECURITY ENVELOPE
  2057.    INTEGRITY.
  2058.  
  2059.  
  2060. The %1 %2 %3 Parameters
  2061. -----------------------
  2062.  
  2063. These three variables %1, %2 and %3, are parameters used by PCBoard.
  2064. They are passed to ZDCS when the upload checking program is being
  2065. used.  That's the only module of ZDCS that actually runs from inside
  2066. PCBoard, and it's the only one where these parameters are important.
  2067.  
  2068. The first parameter, %1, can be one of two words in PCBoard:  UPLOAD
  2069. or TEST.  For operation of ZDCS, this variable is set to UPLOAD, by
  2070. the very fact that a caller has just uploaded either a file for the
  2071. board, or the test file ZDCSTEST.CHK.  If ZDCS should ever be passed
  2072. the word TEST here instead, it will quietly and neatly halt its
  2073. processing and control will pass on.
  2074.  
  2075. The second parameter, %2, is the name of the file that needs to be
  2076. processed by the upload checker.  Under normal circumstances this is
  2077. the name of the file the caller just uploaded.  With a few file
  2078. integrity checkers, the information in this parameter becomes invalid
  2079. after their processing because they have moved or modified the
  2080. uploaded file right out from under this parameter.  In that case, the
  2081. FIXPATH.EXE utility will smooth over things.  (In the SUPPORT section
  2082. of this manual there is a list of goodies, including this utility,
  2083. that are available free on The Hacker Central BBS.)
  2084.  
  2085. The third parameter, %3, is the name of the file that is holding the
  2086. description of the upload.  When callers upload files to a PCBoard
  2087. BBS, they are asked for the file name and for a description of the
  2088. file.  The description is held in a separate text file which is then
  2089. appended to the file directory with the upload file name and other
  2090. information.
  2091.  
  2092. If you are running a version of PCBoard older than the May 22, 1991
  2093. version 14.5a, PCBoard will provide only two parameters.  Since there
  2094. are two features that require the use of the third parameter, you must
  2095. not enable those features until you are running a more recent version
  2096. of the board code that supplies all three parameters.  The two
  2097. features in question are upload pre-testing and the use of the
  2098. disposition line (set in line 4 of the configuration file).
  2099.  
  2100.  
  2101.  
  2102.  
  2103. PROCESSING LOCAL UPLOADS
  2104. ------------------------
  2105.  
  2106. There probably isn't a sysop alive who hasn't scavenged new files for
  2107. the board and uploaded them locally.  ZDCS offers two ways of
  2108.  
  2109.  
  2110.                                   - 32 -
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116. processing these local uploads.  The first method is to use the
  2117. database builder ZDCSDB.EXE;  the second method is to use the upload
  2118. file checker ZDCSFC.EXE that processes all the regular uploads from
  2119. callers.
  2120.  
  2121. In the first case, ZDCSDB.EXE can be used to add all the new files to
  2122. the database.  Just like the initial creation of the ZDCS database or
  2123. subsequent database merges, ZDCSDB.EXE adds the CRC values of the new
  2124. files to the database.  The duplicate report generator ZDCSDR.EXE can
  2125. still be used to tell you about duplicates in the database.  A
  2126. disadvantage to this method is that it does not give the sysop the
  2127. same kind of immediate feedback for a local upload as the sysop and
  2128. caller get for a regular upload.  It also does not delete bbs ads or
  2129. duplicate files (if you have those options enabled).
  2130.  
  2131. To use ZDCSDB.EXE to process local uploads, you only have to change
  2132. the first line of the ZDCS configuration file.  This line points to
  2133. the paths of the files to be processed when running the database
  2134. builder.  (The line contains the full path / name of the text file
  2135. that lists all the directories whose files are to be processed.)
  2136. Change this to point to the uploads directory, a holding directory, or
  2137. whichever directory will hold the local uploads to be processed.  Now
  2138. just run ZDCSDB.EXE and the files will be added to the existing
  2139. database.
  2140.  
  2141. This method does not interfere with the realtime upload checking
  2142. performed by ZDCSFC on regular uploads, because the path information
  2143. in line 1 of the configuration file is not used by ZDCSFC.EXE.  If
  2144. you've decided on a permanent holding directory, you won't even have
  2145. to touch the configuration file again to process any future uploads.
  2146. Just remember to run ZDCSDB.EXE before posting new files on the board.
  2147.  
  2148. This is a good time to repeat one note of caution:  ZDCS does not do
  2149. any integrity testing.  ZDCS is intended to work with your choice of
  2150. integrity tester, not to replace it.  If you have not used an
  2151. integrity checker on the local upload files (Why not?), then you need
  2152. to use the T (for Test) switch.  Instead of using the command ZDCSDB
  2153. to run the database build, use the ZDCSDB T command.
  2154.  
  2155. This calls either PKZIP or ARJ, whichever is appropriate, to do an
  2156. integrity check on the zipfiles.  Any file that fails this test is not
  2157. processed by the database builder.  There will be a message in the
  2158. database building log file ZDCS-DBB.LOG for each such damaged file.
  2159.  
  2160. Don't use the T switch without reason - it adds another step and slows
  2161. the processing down tremendously.  But if you have a small collection
  2162. of files that haven't passed through an integrity checker, like
  2163. prospective local uploads, ZDCSDB T is one way to deal with them.  If
  2164. ZDCSDB.EXE has to skip a file because it's flagged as damaged, that
  2165. information will show up in ZDCS-DBB.LOG.
  2166.  
  2167. The second method mimics regular uploading to get the local uploads
  2168. processed by the upload file checker ZDCSFC.EXE.  This is handled via
  2169. a small utility and batch file combination available free on The
  2170. Hacker Central BBS as LOCALUP.ZIP.  You'll have to modify the batch
  2171. file for your own system, of course.
  2172.  
  2173.  
  2174.  
  2175.  
  2176.                                   - 33 -
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182. The result is that the local uploads will see the same processing that
  2183. a regular caller's upload does on your board - including your usual
  2184. file integrity checker, bbs ad deletion (if enabled), duplicate file
  2185. deletion (if enabled), and all the rest.  This has the additional
  2186. advantage of giving you the ZDCSFC.EXE log file entries for the local
  2187. uploads, which gives the status of the files inside the zipfiles:
  2188. duplicates, bbs ads, allowed duplicates, and so on.
  2189.  
  2190.  
  2191.  
  2192.  
  2193. PRE-TESTING
  2194. -----------
  2195.  
  2196. Callers can pre-test an upload to find out how it compares to files
  2197. already on the bbs in terms of duplicates and bbs ads.  The idea is to
  2198. see how the prospective upload compares to existing files in terms of
  2199. duplicates, bbs ads, etc. before actually uploading the full file to
  2200. the bbs.  It can save both caller and sysop a certain amount of
  2201. frustration.
  2202.  
  2203. The procedure is wonderfully simple from a caller's point of view and
  2204. requires nothing that might tax a relatively novice uploader's skills.
  2205. There are no special files to download, no complicated operations to
  2206. get right, no arcane rituals to perform.  This makes it more likely
  2207. that callers will take advantage of the pre-test feature.
  2208.  
  2209. At the time of this release, ARJ is still in a beta cycle.  The pre-
  2210. testing feature has been implemented for PKZIP only, and a maintenance
  2211. release of ZDCS is planned to incorporate an ARJ pre-testing feature
  2212. after the new production version of ARJ is released.
  2213.  
  2214. Included in this the ZDCS 2.01 package is a sample bulletin that can be
  2215. posted by the sysop on the bbs to explain to callers the ZDCS pre-
  2216. testing feature for ZIP files.  The bulletin holds the caller's hands,
  2217. figuratively speaking, through the whole process.  If your bbs permits
  2218. the uploading of SFX files, you might want to add those initials where
  2219. you see ZIP in the bulletin.  The pre-test can recognize both ZIP
  2220. files and self-extractive archives made with PKZIP.  A ZIP-only bbs
  2221. can use the canned bulletin right from the package.
  2222.  
  2223. To pre-test an upload called GOODSTUF.ZIP, the caller simply issues
  2224. the DOS command:
  2225.  
  2226.           PKZIP -V GOODSTUF.ZIP > ZDCSTEST.CHK
  2227.  
  2228. This command is not case sensitive, so it's pretty hard to make a
  2229. mistake with it.  The result of this operation is a new file called
  2230. ZDCSTEST.CHK.
  2231.  
  2232. The caller then uploads the file ZDCSTEST.CHK directly to the bbs.
  2233. ZDCS will read the information in it and will give the caller a
  2234. breakdown of the zipfile's contents, noting which individual files are
  2235. duplicates or bbs ads.  This output looks just like the response a
  2236. caller gets after actually uploading the zipfile, with one exception:
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.                                   - 34 -
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248. instead of telling the caller whether the file is accepted or
  2249. declined, ZDCS tells the caller what percentage of files in the upload
  2250. are duplicates, and also gives the maximum percent duplicates which
  2251. the sysop has allowed for the board.  Now it's up to the caller to
  2252. decide whether to upload or not.
  2253.  
  2254. Enabling the pre-test capability is not tough on the sysop, either.
  2255. The key to whether or not pre-testing is permitted on your bbs lies in
  2256. the UPSEC file.  If you want to prevent callers from using pre-
  2257. testing, just disallow uploads that have the .CHK extension.  On the
  2258. other hand, if you want callers to have the option to pre-test, make
  2259. sure that .CHK files may be uploaded to the system.
  2260.  
  2261. There's one more thing to check before letting your callers use the
  2262. pre-testing feature.  If you are not using EXZTEST version 2.23 or
  2263. higher, remember to make sure that the PCBTEST.BAT file contains the
  2264. following line:
  2265.  
  2266.      ZDCSFC %1 %2 %3
  2267.  
  2268. This is already discussed elsewhere in this manual as part of the ZDCS
  2269. installation.  That third parameter is necessary to let the pre-
  2270. testing work for more than just the first caller.  If you leave it
  2271. out, the first ZDCSTEST.CHK file uploaded to your system will work
  2272. just fine, but all subsequent attempts to pre-test will be told that
  2273. the ZDCSTEST.CHK file is a duplicate!  And that means they won't be
  2274. recognized as attempts at pre-testing.
  2275.  
  2276. If you are using EXZTEST version 2.23 and up as your file integrity
  2277. checker, you won't have a ZDCS line in the PCBTEST.BAT file.  That's
  2278. because EXZTEST has a seamless interface to ZDCS and calls it
  2279. directly.
  2280.  
  2281. Since this third parameter is critical to the proper functioning of
  2282. the pre-test option, you must have a recent enough version of PCBoard
  2283. that supports the third parameter.  The earliest version of the board
  2284. code that satisfies this requirement is PCBoard 14.5a from May 22,
  2285. 1991.  This version and anything after it can handle ZDCS pre-testing.
  2286.  
  2287. If you track your callers' uploads and downloads, you might like to
  2288. know that the ZDCSTEST.CHK will not count as an upload.  According to
  2289. ZDCS and PCBoard, the ZDCSTEST.CHK file always "fails" validation and
  2290. is not credited to the caller as an upload.  The bulletin does mention
  2291. that pre-testing doesn't count as an upload, just in case some of your
  2292. callers are too enthusiastic about getting upload credits.
  2293.  
  2294.  
  2295.  
  2296.  
  2297. ZIPFILES WITHIN ZIPFILES
  2298. ------------------------
  2299.  
  2300. Processing of zipfiles contained within zipfiles is accomplished with
  2301. some caveats.  Zipfiles within a zipfile are only checked one level
  2302. deep.  Remember that we are using the word zipfile to refer to an
  2303. archive made with PKZIP or ARJ.  In fact, you can even have an ARJ
  2304. within a ZIP or the other way around and ZDCS can still handle it.
  2305. The simplest explanation is to look at an example.
  2306.  
  2307.  
  2308.                                   - 35 -
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314. Zipfile A contains assorted files and zipfile B.  In turn, zipfile B
  2315. contains more files and another zipfile, C.  Zipfile C contains still
  2316. more files.  How does the whole melange get processed?
  2317.  
  2318. All the individual files in zipfile A and in zipfile B have their
  2319. CRC32 values entered into the duplicate files database.  If you have
  2320. configured ZDCS to delete any files (dupes or bbs ads), then those
  2321. deletions are done automatically only for the individual member files
  2322. inside zipfile A.  No files are deleted from inside zipfile B.  Of
  2323. course, all the duplicates in zipfile B are still listed in the log,
  2324. so you do know about them and you can decide whether to remove them
  2325. manually from your file system.
  2326.  
  2327. What about zipfile C?  That's easy:  any zipfile embedded more than
  2328. one level deep in the uploaded zipfile (and C is two levels deep) is
  2329. not processed as a zipfile at all.  No file deletions, no CRCs,
  2330. nothing.
  2331.  
  2332. In fact, *any* file that has either the .ZIP or .ARJ extension will
  2333. not be treated as an individual file in the database or the log file.
  2334. The reason is simple:  it's the individual files inside the zipfiles
  2335. and not the zipfile itself that are important when looking at
  2336. duplicates.  (Besides, it plays havoc with the percentages.)
  2337.  
  2338.  
  2339.  
  2340.  
  2341. CD-ROMS AND DATABASE MERGING
  2342. ----------------------------
  2343.  
  2344. CD-ROMs have been growing in popularity among bbs's because they
  2345. enable a large, static collection of files (such as shareware
  2346. programs) to be available for downloading.  ZDCS works just fine with
  2347. CD-ROM drives on a bbs, but the sheer size of these disks means that
  2348. it can take quite a while to build the ZDCS database for a CD-ROM.
  2349.  
  2350. To make life easier, you can use the database merge utility to combine
  2351. two or more databases into one integrated ZDCS database.  By merging
  2352. databases, it is possible to take advantage of the existence of pre-
  2353. built ZDCS databases for the more popular CD-ROMS.  This lets you
  2354. merge a pre-built database with your own bbs's ZDCS database in a
  2355. fraction of the time it would take to add all the CD-ROM information
  2356. from scratch.
  2357.  
  2358. The ZDCS database merge utility ZDCSDBMG.EXE is available on The
  2359. Hacker Central BBS for downloading as Z2-DBMG.ZIP.  Included in that
  2360. package are clear, detailed directions for merging two databases.  You
  2361. will need the utility program ZDCSDBMG.EXE and the *.DAT files from
  2362. the two ZDCS 2.01 databases you want to merge together.
  2363.  
  2364. All you really need to do is:
  2365.  
  2366. 1. Put copies of all three files into a temporary working directory.
  2367.  
  2368. 2. Make sure one of the *.DAT files is specifically named ZDCS.DAT
  2369.    (doesn't matter which one).  The other one can by ANYNAME.DAT.
  2370.  
  2371. 3. Check your CONFIG.SYS file and make sure that you have FCBS=32,32.
  2372.  
  2373.  
  2374.                                   - 36 -
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380. 4. Run the merge program on the new database by typing
  2381.  
  2382.           ZDCSDBMG <ANYNAME>
  2383.  
  2384. That's it.  Out the other end of the process you'll get your complete
  2385. new database, N-ZDCS.DAT and N-ZDCS.NDX.  The files are ready to be
  2386. renamed and used.
  2387.  
  2388. The improved database merge program ZDCSDBMG.EXE eliminates the need
  2389. for the *.NDX files when you merge a database.  The new N-ZDCS.NDX
  2390. file is generated right from the newly merged database.  This means
  2391. that the pre-built databases available on The Hacker Central can now
  2392. be smaller, which cuts down on storage requirements and transfer time,
  2393. saving us all a little money.
  2394.  
  2395. Prebuilt ZDCS 2.01 databases for many CD-ROMs are available free on The
  2396. Hacker Central BBS.  If you have a CD-ROM that doesn't already have a
  2397. prebuilt ZDCS database, please consider creating a ZDCS database for
  2398. the individual CD-ROM and sharing it with other ZDCS users by
  2399. uploading it to The Hacker Central.  Through the end of 1993, we are
  2400. offering a free ZDCS registration as a thank you to anyone who uploads
  2401. such a database.  You'll find more about our two free registration
  2402. offers in the accompanying text file ZDCS-CD.TXT.
  2403.  
  2404.  
  2405.  
  2406.  
  2407. PKZIP AV STAMP INTEGRITY
  2408. ------------------------
  2409.  
  2410. Registered versions of PKZIP can "brand" a ZIP with the unique AV
  2411. (authenticity verification) number of the registered owner.  The AV
  2412. stamp is used by some shareware authors for their official
  2413. distribution packages.  It is also abused by some people, including a
  2414. few bbs sysops, sad to say.  Whether ZDCS will always leave that AV
  2415. stamp intact is determined by the configuration of ZDCS.
  2416.  
  2417. The first possibility is that ZDCS is configured never to delete any
  2418. files, whether duplicate files or bbs ads.  In this case, the original
  2419. AV stamp is always retained.
  2420.  
  2421. The second possibility is that ZDCS is configured to delete files, but
  2422. no files need to be deleted from a particular zipfile.  In that case,
  2423. any AV on the original zipfile is left intact.
  2424.  
  2425. The third possibility is that ZDCS deletes one or more bbs ads.
  2426. Whether the AV stamp is left intact depends on whether the bbs ad was
  2427. included in the zipfile inside or outside the AV branding.  If the
  2428. offending bbs just added their advertising to the outside of an AV
  2429. stamped zipfile and left the original author's AV stamp in place, ZDCS
  2430. will do the same.  If that bbs added their overhead file and then
  2431. rezipped the entire package with their own AV stamp (don't laugh,
  2432. there's at least one large bbs that's done this), then they have
  2433. destroyed any original AV stamp.  ZDCS does not preserve the AV stamp
  2434. in this case.  This is in keeping with the ideal that the stamp should
  2435. represent an authenticity verification from the =original= author.
  2436.  
  2437.  
  2438.  
  2439.  
  2440.                                   - 37 -
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446. The fourth possibility is that ZDCS deletes one or more duplicate
  2447. files.  If any deleted file was included in the AV branding, then the
  2448. AV stamp is not preserved.  If all deleted files were outside the
  2449. original AV stamp, then the AV stamp is intact.  (This could happen
  2450. with some advertising file that you've already been hit with but which
  2451. doesn't appear in your bbs ads database.)
  2452.  
  2453. This last possibility deserves a little thought from the shareware
  2454. author's point of view.  It is not uncommon for a new version to
  2455. contain some files that are unchanged from the previous version.  If
  2456. these files haven't been flagged as allowed duplicates, it is possible
  2457. to choose to configure ZDCS so that these files are removed.  If that
  2458. happens, the AV stamp is also removed.
  2459.  
  2460. ZDCS is quite capable of handling and retaining all AV stamps.  This
  2461. is a matter of choice on the part of the sysop and is the direct
  2462. result of the simple configuration options.  In order to disturb an AV
  2463. stamp, the following conditions must =all= be met:
  2464.  
  2465. 1. ZDCS must be configured to delete dupes, bbs ads, or both.
  2466.  
  2467. 2. The uploaded file must be a ZIP file bearing an AV stamp.
  2468.  
  2469. 3. One or more files in the ZIP must be targeted by ZDCS for
  2470.    deletion.
  2471.  
  2472. 4. At least one file to be deleted is located "inside" the AV
  2473.    stamping.
  2474.  
  2475.  
  2476.  
  2477.  
  2478. ARJ SECURITY ENVELOPE INTEGRITY
  2479. -------------------------------
  2480.  
  2481. Registered versions of ARJ can "brand" an ARJ with a security
  2482. envelope.  This envelope is used by some shareware authors for their
  2483. official distribution packages.  It is also abused by some people,
  2484. including a few bbs sysops, sad to say.  Whether ZDCS will always
  2485. leave that security envelope intact is determined by the configuration
  2486. of ZDCS.
  2487.  
  2488. The first possibility is that ZDCS is configured never to delete any
  2489. files, whether duplicate files or bbs ads.  In this case, the original
  2490. security envelope is always retained.
  2491.  
  2492. The second possibility is that ZDCS is configured to delete files, but
  2493. no files need to be deleted from a particular zipfile.  In that case,
  2494. any security envelope around the original ARJ is left intact.
  2495.  
  2496. The third possibility is that ZDCS deletes one or more bbs ads.
  2497. Whether the security envelope is left intact depends on whether the
  2498. bbs ad was included in the ARJ inside or outside the envelope.  If the
  2499. offending bbs just added their advertising to the outside of an
  2500. enveloped ARJ and left the original author's security envelope in
  2501. place, ZDCS will do the same.  If that bbs added their overhead file
  2502. and then rearchived the entire package with a new security envelope
  2503.  
  2504.  
  2505.  
  2506.                                   - 38 -
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512. (don't laugh, there's at least one large bbs that's done this, too),
  2513. then they have destroyed any original envelope.  ZDCS does not
  2514. preserve the security envelope in this case.  This is in keeping with
  2515. the ideal that the envelope should represent a tamper-evident seal
  2516. from the =original= author.
  2517.  
  2518. The fourth possibility is that ZDCS deletes one or more duplicate
  2519. files.  If any deleted file was included in the security envelope,
  2520. then the envelope is not preserved.  If all deleted files were outside
  2521. the original envelope, then the security envelope is intact.  (This
  2522. could happen with some advertising file that you've already been hit
  2523. with but which doesn't appear in your bbs ads database.)
  2524.  
  2525. This last possibility deserves a little thought from the shareware
  2526. author's point of view.  It is not uncommon for a new version to
  2527. contain some files that are unchanged from the previous version.  If
  2528. these files haven't been flagged as allowed duplicates, it is possible
  2529. to choose to configure ZDCS so that these files are removed.  If that
  2530. happens, the ARJ security envelope is also removed.
  2531.  
  2532. ZDCS is quite capable of handling and retaining all security
  2533. envelopes.  This is a matter of choice on the part of the sysop and is
  2534. the direct result of the simple configuration options.  In order to
  2535. disturb a security envelope, the following conditions must =all= be
  2536. met:
  2537.  
  2538. 1. ZDCS must be configured to delete dupes, bbs ads, or both.
  2539.  
  2540. 2. The uploaded file must be an ARJ file having a security envelope.
  2541.  
  2542. 3. One or more files in the ARJ must be targeted by ZDCS for
  2543.    deletion.
  2544.  
  2545. 4. At least one file to be deleted is located "inside" the security
  2546.    envelope.
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  ACCURACY OF THE CRC32 METHOD
  2552. ----------------------------
  2553.  
  2554. In order to detect duplicates, some unique signature is needed for
  2555. each file.  While the only guaranteed truly unique signature is by
  2556. definition as long and cumbersome as the file itself, there are more
  2557. manageable alternatives that make use of formulas called algorithms to
  2558. generate a signature.  Any algorithm is a trade-off between these two
  2559. factors:  manageability and accuracy.  The more unique signatures a
  2560. method can generate, the smaller the possibility that two different
  2561. files might generate the same signature.
  2562.  
  2563. ZDCS makes use of the CRC32 used by PKZIP and ARJ.  This signature has
  2564. a total of eight "places", each filled by =independent= assortment
  2565. with one of sixteen different values.  (It doesn't matter how many
  2566. places you have if they aren't each filled independently of the
  2567. others.)  That makes for a total of 16*16*16*16*16*16*16*16 (16 to the
  2568. 8th power) unique signatures.  With over four and a quarter billion
  2569. possible signatures, this method has good accuracy.
  2570.  
  2571.  
  2572.                                   - 39 -
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578. It is possible to use other methods to create an even greater number
  2579. of unique signatures.  These longer signatures and different
  2580. calculation methods carry a corresponding cost in complexity, disk
  2581. space and processing speed.  But no signature that is shorter than the
  2582. original file can ever provide an absolute guarantee of uniqueness.
  2583.  
  2584. When an algorithm produces the same signature for two different files,
  2585. and eventually every algorithm will, there is a possibility for
  2586. misidentification =if= you also have both of those files.  This is
  2587. because the heart of misidentification is in the comparison of
  2588. signatures from different files.  If you have only one of the two
  2589. files generating the same signature, then the comparison step will
  2590. still show it to be unique on your system.
  2591.  
  2592. But suppose that you do beat the odds enough to have on your system
  2593. both of these files that generate the same signature.  What effect
  2594. would that have?  The second file you encounter would be flagged as a
  2595. duplicate of the first one.
  2596.  
  2597. If a caller uploads a file that contains this second, "misidentified"
  2598. file, then that upload will show one more dupe.  If you have set the
  2599. percentage of maximum dupes very low and the upload contains few
  2600. files, then this might be enough to decline the upload.  If your
  2601. percentage is set high and / or there are many files in the upload,
  2602. this one "extra" dupe will not tip the scale in deciding whether the
  2603. upload is declined or not.
  2604.  
  2605. For example, suppose the upload contained only four files.  Every one
  2606. of them that was flagged as a dupe would contribute a value of 25% to
  2607. the level of duplication in the file.  If your maximum percentage of
  2608. dupes acceptable in an upload were set to 10%, then a single
  2609. misidentified dupe in this upload is enough to have ZDCS decline the
  2610. file.
  2611.  
  2612. Most sysops, however, use a higher maximum percentage.  And most files
  2613. (excluding GIFs) contain a higher number of files on average.  So
  2614. let's change the example to a maximum percentage of 50% and an upload
  2615. containing 10 files.  A single misidentified dupe in this upload would
  2616. only contribute a value of 10% to the level of duplication in the
  2617. file.  That wouldn't be enough to have ZDCS decline the file.  So even
  2618. though there was a long-shot misidentification, the net effect is that
  2619. ZDCS still accepts the file.
  2620.  
  2621. But what about GIFs?  A GIF upload is a single file to ZDCS.  There
  2622. are only two possible outcomes for the dupe check:  0% and 100%.  To
  2623. provide extra protection against misidentification in this situation,
  2624. ZDCS has implemented a =second= algorithm, one completely independent
  2625. of the CRC32 method, as a cross check.  In order for a GIF to be
  2626. flagged as a dupe, it must be identified as a duplicate first by the
  2627. CRC32 method, and then again by the second, independent method.
  2628.  
  2629. ZDCS protects against harmful consequences of misidentification by
  2630. making use of a well-tested signature algorithm that generates over
  2631. four and a quarter billion signatures, by implementing a percentage
  2632. system that lets the sysop adjust the odds even further, by providing
  2633. independent cross-checking for GIFs, and by never deleting a failed
  2634. upload from your system.  So even if a misidentification does occur
  2635. and does cause an otherwise original upload to be declined, that
  2636. upload is still available on your system in your private uploads
  2637. directory for your review.
  2638.                                   - 40 -
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644. ZDCS provides you with good accuracy while still being manageable.
  2645. After all, the most accurate method in the world does no good if you
  2646. can't implement it, right?
  2647.  
  2648.  
  2649.  
  2650.  
  2651. MEMORY USAGE
  2652. ------------
  2653.  
  2654. The ZDCS upload file checker ZDCSFC.EXE, the bbs ads database builder
  2655. ZDCSBA.EXE, and the ZDCS 1.6x to 2.01 conversion program Z1TO2.EXE each
  2656. require a minimum of 384K of free memory (RAM).  The database build
  2657. program ZDCSDB.EXE and the duplicate report generator ZDCSDR.EXE each
  2658. require a minimum of 512K of free memory (RAM).
  2659.  
  2660. If your system has at least one megabyte of available EMS (expanded
  2661. memory), ZDCS can make good use of it when running any of the
  2662. following programs:
  2663.  
  2664.      ZDCSDB.EXE          the database builder
  2665.      ZDCSDR.EXE          the duplicate report generator
  2666.      ZDCSFC.EXE          the upload file checker
  2667.      ZDCSDBMG.EXE   the database merge utility
  2668.  
  2669.  
  2670. There are no internal limits on the number of member files within a
  2671. zipfile that can be processed by both the upload file checker
  2672. ZDCSFC.EXE and the database creator ZDCSDB.EXE.
  2673.  
  2674.  
  2675.  
  2676.  
  2677. TROUBLE-SHOOTING GUIDE
  2678. ----------------------
  2679.  
  2680. There is no better help for solving problems than experience,
  2681. especially someone else's experience with the same problems.
  2682.  
  2683.  
  2684. Your system is crashing during the upload test.
  2685. -----------------------------------------------
  2686.  
  2687. We have tracked this problem down to the following set of
  2688. circumstances so far:  you are using EXZTEST to call ZDCS, =and= you
  2689. have QEMM installed on a 386 computer with an Adaptec SCSI device.
  2690.  
  2691. This problem goes back to memory management.  Your system is trying to
  2692. juggle PCBoard, EXZTEST, ZDCS, and PKZIP or ARJ - all in memory.  To
  2693. add to the confusion, QEMM is trying to help out and not always
  2694. managing that.
  2695.  
  2696. PCBoard has the /SWAP parameter and ZDCS has the SuperShell.  When
  2697. ZDCS needs to call PKUNZIP or ARJ to deal with an embedded archive
  2698. (which, by the way, is the ONLY time that ZDCS needs to call an
  2699. external program), ZDCS swaps itself out of memory to EMS (if
  2700. available) or to disk.  Under certain very specific circumstances on
  2701. certain hardware configurations,  QEMM seems to have a problem with
  2702. this (to put it very politely).
  2703.  
  2704.                                   - 41 -
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710. Right now your best solution to this is to get a copy of SHROOM (Shell
  2711. Headroom).  This is an excellent shareware product from
  2712.  
  2713.           Davis Augustine (Shroom Shareware)
  2714.           P.O. Box 610
  2715.           Sausalito, CA. 94966-0610
  2716.  
  2717. With SHROOM on your system, you can modify the line in your
  2718. PCBTEST.BAT file that calls EXZTEST to call SHROOM first.  Look for
  2719. this line:
  2720.  
  2721.           EXZTEST %1 %2
  2722.  
  2723. and change it to this:
  2724.  
  2725.           SHROOM EXZTEST %1 %2
  2726.  
  2727. That should take care of the memory management problem and prevent the
  2728. system crashes.
  2729.  
  2730.  
  2731. ZDCSDB.EXE (the database build) is crashing.
  2732. ---------------------------------------
  2733.  
  2734. There is a log file ZDCS-BBA.LOG that collects messages when ZDCSDB is
  2735. used to create a new ZDCS database or to add to an existing one.  Read
  2736. the messages in the log file to find out why the database build
  2737. program is crashing.
  2738.  
  2739. Most of the time, the culprit is a damaged zipfile.  ZDCS normally
  2740. depends on the fact that most sysops use a separate integrity file
  2741. checker on their boards.  If a corrupted zipfile gets into the
  2742. collection of files being processed into the database, it can bring
  2743. things to a sudden halt.
  2744.  
  2745. The recommended solution is to process all files with a file integrity
  2746. checker first.  However, there is a second alternative using just
  2747. ZDCS.  You can use the T (for Test) switch to tell ZDCSDB to call
  2748. PKZIP or ARJ, whichever is appropriate, and perform a file check
  2749. first.  Only those files passed by this check are processed by the
  2750. database builder.  The syntax is simple:  ZDCSDB T instead of ZDCSDB.
  2751. The penalty in speed for doing it this way is very significant, which
  2752. is why it is not the usually preferred solution.  Unless you have only
  2753. a small handful of files to process, it's worthwhile to use a real
  2754. file integrity testing program instead.
  2755.  
  2756.  
  2757. ZDCS is reporting a device I/O error (in any module).
  2758. ----------------------------------------------------
  2759.  
  2760. So far, we have seen this happen thrice.  Each time, ZDCS was running
  2761. on a LAN.  In all three cases, the problem was traced back to bad
  2762. spots on the hard drives.
  2763.  
  2764. The best medicine for this error message is to run Norton Disk Doctor,
  2765. Spinrite, or something similar on your hard drive system.
  2766.  
  2767.  
  2768.  
  2769.  
  2770.                                   - 42 -
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776. ZDCS reports path/file access errors.
  2777. ------------------------------------
  2778.  
  2779. One possibility is that you might have loaded SHARE high under DOS
  2780. 5.0.  There seems to be a problem with loading SHARE high;  it's not
  2781. anything specifically to do with ZDCS.  Try loading SHARE low instead.
  2782.  
  2783. Another possibility is that you haven't specified enough files in your
  2784. CONFIG.SYS file.  Because ZDCS makes such heavy use of disk I/O, you
  2785. should make sure that at least 30 files are specified in your
  2786. CONFIG.SYS (FILES=30).
  2787.  
  2788.  
  2789. QEMM exception 13 errors occur when running ZDCS.
  2790. ------------------------------------------------
  2791.  
  2792. There are four possible reasons for this error message.
  2793.  
  2794. 1. Your QEMM command line is incorrect.  The problem isn't with ZDCS
  2795.    itself, but ZDCS is likely to be the first program to notice this
  2796.    QEMM error because of the amount of data ZDCS needs to juggle. The
  2797.    result is that ZDCS is able to write its data someplace it
  2798.    shouldn't.
  2799.  
  2800.    To solve this problem, check that all areas of memory that should
  2801.    be excluded from QEMM are being properly excluded.  Be especially
  2802.    careful if your system has super VGA, SCSI devices or a LAN;  all
  2803.    of these devices usually require specific areas of memory to be
  2804.    excluded from remapping by QEMM.
  2805.  
  2806. 2. You have one or more "mis-behaved" device drivers.  You can check
  2807.    out this possibility by removing all drivers from your CONFIG.SYS
  2808.    file, rebooting the system, and trying ZDCS again.  One example of
  2809.    this type of problem was with an older version of the Hyperdisk
  2810.    cache.
  2811.  
  2812. 3. You believed the QEMM optimize program when it told you to get rid
  2813.    of DOS stack space.  Put it back!  QEMM is egocentric enough to
  2814.    believe it can handle all types of stack requirements for any
  2815.    application properly.  Let's just say that putting back the DOS
  2816.    stack space solves this problem nicely.
  2817.  
  2818. 4. You are trying to use the "stealth technology" feature of QEMM
  2819.    6.x.  There have been persistent reports of problems traced to
  2820.    interactions between stealth and various applications from other
  2821.    vendors.  It wouldn't be at all surprising if ZDCS experienced the
  2822.    same trouble with stealth.  This is not a bug in ZDCS.  Contact
  2823.    Quarterdeck tech support.  In the meantime, disable stealth by
  2824.    removing the ST:F or ST:M from the DEVICE=QEMM.SYS line in the
  2825.    CONFIG.SYS file.
  2826.  
  2827.  
  2828.  
  2829.  
  2830. REGISTRATION
  2831. ------------
  2832.  
  2833. ZDCS is a fully functional shareware package.  There are no critical
  2834. limits, crippled features or "drop dead" dates.  The only difference
  2835.  
  2836.                                   - 43 -
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842. in the unregistered version is a brief message to sysop and caller
  2843. that the version is unregistered.
  2844.  
  2845. A customized ZDCS.KEY file is available to registered users to change
  2846. the "unregistered" message to show registration in the name of <BBS
  2847. Name> or to eliminate the display of any message at all.
  2848.  
  2849. For sysops, registration entitles the user to a license for use of the
  2850. Zipfile Duplicate Checking System on one bbs, no matter how many nodes
  2851. it has.  For CD-ROM mastering, registration entitles the user to a
  2852. license for use of one copy of the Zipfile Duplicate Checking System,
  2853. no matter how many CD-ROM collections are processed.  There are no
  2854. additional fees based on the number of CD-ROMs, the gross revenue, the
  2855. phase of the moon, or any other factors.
  2856.  
  2857. This includes =all= future versions of ZDCS.  No additional fees will
  2858. be charged for registration of future versions of this product.  Once
  2859. you register, your keyfile works with all versions of ZDCS from
  2860. version 1.6x on.
  2861.  
  2862. Please take a look at the accompanying text file on CD-ROM uses of
  2863. ZDCS.  It describes special registration offers for both bbs and CD-
  2864. ROM mastering operations.  In brief, you can trade a ZDCS 2.01 pre-
  2865. built CD-ROM database for a full registration, or you can have the
  2866. registration fee waived if you include the ZDCS 2.01 pre-built database
  2867. on any CD-ROM that you master.  More details are given in ZDCS-CD.TXT.
  2868.  
  2869. If you try ZDCS out on your system and decide that you want to
  2870. continue using it, please register your copy by sending a check for
  2871. $25.00 (US).  Include the name of your bbs (up to 25 characters) as
  2872. you want it to appear to your callers.  An order form (ORDER.FRM) is
  2873. included in this release for your convenience.  We will prepare a key
  2874. file for your copy of ZDCS with this information in it to replace the
  2875. "unregistered version" line in the display.  This keyfile will be
  2876. available for download from The Hacker Central BBS.
  2877.  
  2878. If your bbs is located in the continental United States or Canada, you
  2879. may choose to take advantage of the keyfile delivery service any time
  2880. during 1992 - 1993.  For an additional $5.00 (US), we will prepare
  2881. your keyfile and upload it to your bbs.  Just set up an account in the
  2882. name of ZDCS SUPPORT with the password KEYFILE and with sufficient
  2883. security to upload a private file for the sysop.  When you send in
  2884. your registration of $25.00 plus $5.00, remember to include the name
  2885. and number of the bbs.  It's all spelled out on the order form.
  2886.  
  2887. As of 1991, first time callers to The Hacker Central BBS have been
  2888. able to register ZDCS online with a valid Visa or Mastercard.  Look
  2889. for the ZDCS script questionnaire in order to register.  The keyfile
  2890. delivery service is also available as part of the online registration.
  2891. Processing usually takes from one to three days.
  2892.  
  2893. If you prefer to register by check or money order, please make your
  2894. registration check payable to Michael W. Cocke and mail it along with
  2895. the necessary information (like a completed order form) to:
  2896.  
  2897.           Michael W. Cocke
  2898.           11 Cedar Road
  2899.           Montville  NJ  07045-9582
  2900.  
  2901.  
  2902.                                   - 44 -
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908. Please be assured that ZDCS will continue to receive support through
  2909. future revisions.  For over two years now it has been in use on its
  2910. home board, The Hacker Central BBS.  When the programmer is also a
  2911. sysop and has to live with the results of that programming work every
  2912. day, you can be sure that the support will be there!
  2913.  
  2914.  
  2915.  
  2916.  
  2917. SUPPORT
  2918. -------
  2919.  
  2920. Support is a critical part of ZDCS.  It's nice to have a program
  2921. that's easy to install and use, but we all know that there is nothing
  2922. to beat direct, involved author support of a product.  We are
  2923. committed to providing that kind of support for ZDCS.  Many of the
  2924. improvements in ZDCS 2.01 grew directly out of providing that kind of
  2925. support to users of earlier versions of ZDCS.  This is also true of
  2926. the utilities and accessories, which you will find described a little
  2927. later on in the section called GOODIES.
  2928.  
  2929. Part of good support is also a willingness to listen to suggestions
  2930. and requests.  If you have any ideas for new features or ways to make
  2931. existing features better, please let us hear from you.
  2932.  
  2933.  
  2934. Contact Information
  2935. -------------------
  2936.  
  2937. ZDCS product support is handled on the ZDCS home board and via echoed
  2938. email conferences.  Questions, comments and discussion of ZDCS are
  2939. welcome in the following conferences:
  2940.  
  2941.      ZDCS-Support   (on the ILink BBS network)
  2942.      ZDCS-Support   (on the Intelec BBS network)
  2943.  
  2944. Both conferences are of course available on the ZDCS home board, The
  2945. Hacker Central BBS.  For PCBoard sysops on Salt Air BBS, Mike Cocke is
  2946. also available there in the ZDCS-Support conference.
  2947.  
  2948. Additional product support in the form of downloadable files is
  2949. available on The Hacker Central BBS.  These are described in the next
  2950. section of this manual, appropriately entitled GOODIES.
  2951.  
  2952. First time access to The Hacker Central BBS must be done via the
  2953. public node.  After completing the new user and visiting sysop
  2954. scripts, sysops and ZDCS users (whether or not they have registered
  2955. ZDCS yet) will be upgraded in security level, usually handled in a day
  2956. or two.  This will give you access to the two private nodes, both of
  2957. which are high speed lines.  The Hacker Central phone numbers are:
  2958.  
  2959.      Node 1    201-334-2555   Public    2400
  2960.      Node 2    201-316-8840   Private   HST / Dual Standard
  2961.      Node 3    201-335-9343   Private   HST / Dual Standard
  2962.  
  2963. You can join the ZDCS support conferences on your first call.  All the
  2964. pre-built CD-ROM databases, utilities, and other goodies are available
  2965. for download =only= from inside one of the ZDCS-Support conferences.
  2966.  
  2967.  
  2968.                                   - 45 -
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974. If you should get confused or need a reminder, there is a bulletin on
  2975. the board addressed to those interested in ZDCS.  You'll find it
  2976. listed with the rest of the bulletins.
  2977.  
  2978.  
  2979. Goodies
  2980. -------
  2981.  
  2982. Another aspect of ZDCS product support is the collection of utilities
  2983. and pre-built CD-ROM databases available for download from The Hacker
  2984. Central BBS for all ZDCS users.  This collection is constantly growing
  2985. in response to suggestions, requests and cries for customized help.  A
  2986. few of the special goodies are described below.
  2987.  
  2988. This is not necessarily the complete list of goodies.  New CD-ROM
  2989. databases are constantly being added, and development work on various
  2990. accessories is an ongoing process.  Suggestions for other new
  2991. utilities are always welcome, of course.
  2992.  
  2993. All ZDCS utilities to date are free but are only available on The
  2994. Hacker Central BBS.  Please do not upload these modules to other bbs's
  2995. or distribute them as part of the shareware ZDCS package.
  2996.  
  2997.  
  2998. Database Merge
  2999. --------------
  3000.  
  3001. The database merge program ZDCSDBMG.EXE lets you combine more than one
  3002. ZDCS database into a single database.  This has the tremendous
  3003. advantage of permitting pre-built ZDCS databases to be created for the
  3004. more popular CD-ROMS.  Once a single CD-ROM database has been created,
  3005. can be merged into any bbs's ZDCS database in a fraction of the time
  3006. it would take to create the CD-ROM database from scratch.
  3007.  
  3008. The existence of the merge utility also makes it possible for you to
  3009. build your own ZDCS database a section at a time if that's easier for
  3010. you, and then merge the different pieces together for your complete
  3011. system.  It gives you a little more flexibility that way.
  3012.  
  3013. The merge utility is available in a little package called Z2-DBMG.ZIP
  3014. that includes step by step instructions so you can't get lost.
  3015.  
  3016.  
  3017. Pre-Built CD-ROM Databases
  3018. --------------------------
  3019.  
  3020. Many pre-built CD-ROM databases are available on The Hacker Central
  3021. BBS.  These are easy to incorporate into your ZDCS database with the
  3022. database merge utility described above.
  3023.  
  3024. If you have a CD-ROM that doesn't already have a pre-built database
  3025. (either on disk or in the collection of databases on The Hacker
  3026. Central BBS), then we'd like to encourage you to create the ZDCS 2.01
  3027. database for that CD-ROM and upload it to share with other sysops.  In
  3028. fact, we are offering a free ZDCS registration to anyone who uploads a
  3029. new ZDCS 2.01 pre-built CD-ROM database to The Hacker Central BBS from
  3030. now until the end of 1993.  For details, check out the text file ZDCS-
  3031. CD.TXT in this package.
  3032.  
  3033.  
  3034.                                   - 46 -
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040. Local Upload Processing
  3041. -----------------------
  3042.  
  3043. A small local uploads package has been put together to make processing
  3044. local uploads easier for the sysop who also scavenges files for the
  3045. board.  This package was revised for ZDCS 2.01 to make it easier for
  3046. the sysop to use it "out of the box".  Changes to the docs and the
  3047. sample batch file take more of the load off the sysop when processing
  3048. local uploads.  The package is available for download as LOCALUP.ZIP.
  3049.  
  3050.  
  3051. Database Browser
  3052. ----------------
  3053.  
  3054. There is another small program that permits you to look through the
  3055. records in a ZDCS database.  This database browse utility originally
  3056. started as a debugging tool and is still intended primarily for
  3057. debugging purposes.  The program name is ZDCSED2.EXE and it is
  3058. available for download as ZDCSED2.ZIP.
  3059.  
  3060.  
  3061. Fixpath
  3062. -------
  3063.  
  3064. Some upload file integrity testers move or rename the uploaded file.
  3065. There is now available a small utility called FIXPATH.EXE for use with
  3066. these testers.  This program acts as a small shell for ZDCS, and
  3067. adjusts the %1 parameter originally passed from PCBoard to reflect
  3068. whatever the file integrity tester has done.  This utility is
  3069. available for download as FIXPATH.ZIP.
  3070.  
  3071.  
  3072. BBS Ad Tracker
  3073. -------------
  3074.  
  3075. This is a new utility to help you track down bbs ads that might have
  3076. made it into your ZDCS database before they were recognized as bbs
  3077. ads.  The way some bbs's change their ads frequently, it's possible to
  3078. receive one of these little joys as part of an upload or even to have
  3079. it in your original collection of files for some time before you
  3080. discover that it's another bbs ad.  The bbs ad tracker ZDCSBAT.EXE can
  3081. compare your ZDCS database with your bbs ads database and let you know
  3082. if any of those bbs ads appear in teh database.  Armed with that
  3083. report, you can hunt the ads down and exterminate them.  This program
  3084. is available for download as ZDCSBAT.ZIP.
  3085.  
  3086.  
  3087. Conversion from ZDCS 1.6x to ZDCS 2.01
  3088. -------------------------------------
  3089.  
  3090. If you have already installed one of the earlier versions of ZDCS
  3091. (1.6x), there is a straightforward upgrade path to the smaller and
  3092. faster version 2.01.  But you won't find a separate upgrade kit on The
  3093. Hacker Central BBS;  all you need is already included in this package.
  3094. And since you are reading this file, you must have the rest of the
  3095. package, too.  Right?  However, you =will= need to make sure that any
  3096. utility programs you are using, such as the database merge, are up to
  3097. date for ZDCS 2.01 and are not older version intended for ZDCS 1.6x.
  3098.  
  3099.  
  3100.                                   - 47 -
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106. Documentation
  3107. -------------
  3108.  
  3109. A final note about ZDCS support concerns documentation.  We feel that
  3110. clear and helpful documentation is an important part of a sysop
  3111. utility package like ZDCS.  The documentation for ZDCS 2.01 has been
  3112. revised to answer more questions and give more examples.  Of course
  3113. we've kept the friendly walk-through ZDCSWALK.TXT and the technical
  3114. reference manual ZDCS-REF.TXT, just improved them a little.
  3115.  
  3116. In addition to the plain text files included in this package, we also
  3117. have the documentation available in WinWord 2.01 (also known as MS Word
  3118. for Windows 2.01) with full use of styles, footers, outline processing
  3119. and other features.  This makes for some really nifty output if you
  3120. want to print copies of any of the docs.  If you are interested in a
  3121. copy of the documentation files in Winword 2.01 format or in discussing
  3122. conversion to other formats such as WordPerfect, please contact us on
  3123. The Hacker Central BBS.
  3124.  
  3125. In fact, if you have any questions, comments or suggestions concerning
  3126. the documentation, we would like to hear from you.
  3127.  
  3128.  
  3129.  
  3130.  
  3131. FUTURE ENHANCEMENTS
  3132. -------------------
  3133.  
  3134. ZDCS is a dynamic product.  In response to suggestions, comments and
  3135. the changing bbs scene, ZDCS has seen a lot of improvements since
  3136. version 1.5 was first released to the public.  And we haven't reached
  3137. the end of the road yet.
  3138.  
  3139. Future enhancements under consideration or in progress include support
  3140. for other archive formats besides PKZIP and ARJ, further improvements
  3141. to local upload handling, and database path updating for bbs types
  3142. besides PCBoard.  (Support for PCBoard systems was added in version
  3143. 2.01.)
  3144.  
  3145.  
  3146.  
  3147.  
  3148. ACKNOWLEDGEMENTS
  3149. ----------------
  3150.  
  3151. Thanks to all the beta testers who have helped to make ZDCS a better
  3152. and smoother program, from version 1.5 through versions 1.6x and
  3153. culminating in version 2.01.  Their patience and input through all the
  3154. steps along the way are definitely reflected in the quality of the
  3155. final product.
  3156.  
  3157. Thanks to Dave Klein for allowing me to bounce off him everything from
  3158. data reduction approaches to curses at Quarterdeck.
  3159.  
  3160. Thanks to Rich Hackney, Greg Wilson, Bob Jacobson, and Michael Leavitt
  3161. for their help in tracking down the QEMM / Supershell memory
  3162. incompatability problem.
  3163.  
  3164.  
  3165.  
  3166.                                   - 48 -
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172. Special thanks to Andy Keeves for ExzTest.  Come to think of it,
  3173. special curses to Andy for the same thing.
  3174.  
  3175. Thanks to Roy Timberman for his help with some CD-ROM related errors.
  3176.  
  3177. Finally, thanks to everyone who had the patience to wait while version
  3178. 2.01 went through six intense months of beta bashing and feature
  3179. testing.
  3180.  
  3181.  
  3182.  
  3183.  
  3184. COPYRIGHTS AND LEGAL STUFF
  3185. --------------------------
  3186.  
  3187. ZDCS (Zipfile Duplicate Checking System) is copyright (C) 1991, 1992
  3188. by Michael W. Cocke.  ZDCS 2.01 is fully functional shareware.  It may
  3189. be freely copied and distributed, provided that no files in this
  3190. package are removed or altered in any way.
  3191.  
  3192. The individual documentation files ZDCS-REF.TXT, ZDCS.BLT and
  3193. ZDCSWALK.TXT are copyright (C) 1991, 1992 by Evelyne Stalzer.
  3194. Permission is granted to distribute these files as part of the
  3195. complete ZDCS shareware package.  Permission is also granted to bbs
  3196. sysops to modify ZDCS.BLT for use as needed, including as a bulletin,
  3197. message or downloadable help file.
  3198.  
  3199. ZDCS.KEY is the individual registration key file and may not be
  3200. copied, distributed or otherwise shared with individuals beyond the
  3201. registered user.
  3202.  
  3203. Neither Michael W. Cocke, Evelyne Stalzer nor MWC Enterprises will
  3204. accept responsibility for the function, failure to function, or side
  3205. effects of any function of the Zipfile Duplicate Checking System
  3206. (ZDCS).  ZDCS is provided in good faith, but its use is solely at the
  3207. risk of the operator.
  3208.  
  3209. ARJ is copyright Robert Jung.
  3210. EXZTEST and EXZIP are copyright Andy Keeves.
  3211. FWKCS is trademark and copyright Fred Kantor.
  3212. Lantastic is trademark of ArtiSoft Inc.
  3213. MS-DOS is trademark and copyright Microsoft Corp.
  3214. Netware is trademark of Novell Inc.
  3215. PCBoard is trademark and copyright Clark Development Company.
  3216. PKZIP and PKUNZIP are trademark and copyright PKWARE, Inc.
  3217. QEMM/386 is trademark and copyright Quarterdeck Office Systems.
  3218. Word for Windows is copyright Microsoft Corp.
  3219. ZDCS is copyright (C) 1991, 1992 Michael W. Cocke.
  3220.  
  3221.  
  3222.  
  3223.  
  3224.  
  3225.  
  3226.  
  3227.  
  3228.  
  3229.  
  3230.  
  3231.  
  3232.                                   - 49 -
  3233.  
  3234.